feat(types): re-expose withDirectives
as public type
This commit is contained in:
parent
b570287dfe
commit
583ba0c172
@ -82,7 +82,6 @@ export type DirectiveArguments = Array<
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds directives to a VNode.
|
* Adds directives to a VNode.
|
||||||
* @internal
|
|
||||||
*/
|
*/
|
||||||
export function withDirectives<T extends VNode>(
|
export function withDirectives<T extends VNode>(
|
||||||
vnode: T,
|
vnode: T,
|
||||||
|
@ -63,6 +63,8 @@ export {
|
|||||||
BaseTransition,
|
BaseTransition,
|
||||||
BaseTransitionProps
|
BaseTransitionProps
|
||||||
} from './components/BaseTransition'
|
} from './components/BaseTransition'
|
||||||
|
// For using custom directives
|
||||||
|
export { withDirectives } from './directives'
|
||||||
// SFC CSS Modules
|
// SFC CSS Modules
|
||||||
export { useCSSModule } from './helpers/useCssModule'
|
export { useCSSModule } from './helpers/useCssModule'
|
||||||
// SSR context
|
// SSR context
|
||||||
@ -202,7 +204,6 @@ export { HMRRuntime } from './hmr'
|
|||||||
// For compiler generated code
|
// For compiler generated code
|
||||||
// should sync with '@vue/compiler-core/src/runtimeConstants.ts'
|
// should sync with '@vue/compiler-core/src/runtimeConstants.ts'
|
||||||
export { withCtx } from './helpers/withRenderContext'
|
export { withCtx } from './helpers/withRenderContext'
|
||||||
export { withDirectives } from './directives'
|
|
||||||
export {
|
export {
|
||||||
resolveComponent,
|
resolveComponent,
|
||||||
resolveDirective,
|
resolveDirective,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user