File tree 3 files changed +7
-17
lines changed
packages/runtime-core/src
3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,6 @@ let compile: CompileFunction | undefined
549
549
/**
550
550
* For runtime-dom to register the compiler.
551
551
* Note the exported method uses any to avoid d.ts relying on the compiler types.
552
- * @internal
553
552
*/
554
553
export function registerRuntimeCompiler ( _compile : any ) {
555
554
compile = _compile
Original file line number Diff line number Diff line change @@ -12,18 +12,12 @@ import { warn } from '../warning'
12
12
const COMPONENTS = 'components'
13
13
const DIRECTIVES = 'directives'
14
14
15
- /**
16
- * @internal
17
- */
18
15
export function resolveComponent ( name : string ) : Component | string | undefined {
19
16
return resolveAsset ( COMPONENTS , name ) || name
20
17
}
21
18
22
19
export const NULL_DYNAMIC_COMPONENT = Symbol ( )
23
20
24
- /**
25
- * @internal
26
- */
27
21
export function resolveDynamicComponent (
28
22
component : unknown
29
23
) : Component | string | typeof NULL_DYNAMIC_COMPONENT {
@@ -35,9 +29,6 @@ export function resolveDynamicComponent(
35
29
}
36
30
}
37
31
38
- /**
39
- * @internal
40
- */
41
32
export function resolveDirective ( name : string ) : Directive | undefined {
42
33
return resolveAsset ( DIRECTIVES , name )
43
34
}
Original file line number Diff line number Diff line change @@ -81,6 +81,13 @@ export {
81
81
callWithAsyncErrorHandling ,
82
82
ErrorCodes
83
83
} from './errorHandling'
84
+ export {
85
+ resolveComponent ,
86
+ resolveDirective ,
87
+ resolveDynamicComponent
88
+ } from './helpers/resolveAssets'
89
+ // For integration with runtime compiler
90
+ export { registerRuntimeCompiler } from './component'
84
91
export {
85
92
useTransitionState ,
86
93
resolveTransitionHooks ,
@@ -204,11 +211,6 @@ export { HMRRuntime } from './hmr'
204
211
// For compiler generated code
205
212
// should sync with '@vue/compiler-core/src/runtimeConstants.ts'
206
213
export { withCtx } from './helpers/withRenderContext'
207
- export {
208
- resolveComponent ,
209
- resolveDirective ,
210
- resolveDynamicComponent
211
- } from './helpers/resolveAssets'
212
214
export { renderList } from './helpers/renderList'
213
215
export { toHandlers } from './helpers/toHandlers'
214
216
export { renderSlot } from './helpers/renderSlot'
@@ -236,8 +238,6 @@ const _toDisplayString = toDisplayString
236
238
const _camelize = camelize
237
239
export { _toDisplayString as toDisplayString , _camelize as camelize }
238
240
239
- // For integration with runtime compiler
240
- export { registerRuntimeCompiler } from './component'
241
241
// For test-utils
242
242
export { transformVNodeArgs } from './vnode'
243
243
You can’t perform that action at this time.
0 commit comments