refactor(types): mark internal API exports and exclude from d.ts
BREAKING CHANGE: Internal APIs are now excluded from type decalrations.
This commit is contained in:
@@ -109,7 +109,14 @@ function normalizeContainer(container: Element | string): Element | null {
|
||||
return container
|
||||
}
|
||||
|
||||
// DOM-only runtime directive helpers
|
||||
// DOM-only components
|
||||
export { Transition, TransitionProps } from './components/Transition'
|
||||
export {
|
||||
TransitionGroup,
|
||||
TransitionGroupProps
|
||||
} from './components/TransitionGroup'
|
||||
|
||||
// **Internal** DOM-only runtime directive helpers
|
||||
export {
|
||||
vModelText,
|
||||
vModelCheckbox,
|
||||
@@ -120,13 +127,6 @@ export {
|
||||
export { withModifiers, withKeys } from './directives/vOn'
|
||||
export { vShow } from './directives/vShow'
|
||||
|
||||
// DOM-only components
|
||||
export { Transition, TransitionProps } from './components/Transition'
|
||||
export {
|
||||
TransitionGroup,
|
||||
TransitionGroupProps
|
||||
} from './components/TransitionGroup'
|
||||
|
||||
// re-export everything from core
|
||||
// h, Component, reactivity API, nextTick, flags & types
|
||||
export * from '@vue/runtime-core'
|
||||
|
||||
Reference in New Issue
Block a user