types: fix internal exports from @vue/shared

This commit is contained in:
Evan You
2020-05-01 09:19:30 -04:00
parent c9bf7ded2e
commit 127e96a993
2 changed files with 15 additions and 8 deletions

View File

@@ -207,7 +207,20 @@ export {
createCommentVNode,
createStaticVNode
} from './vnode'
export { toDisplayString, camelize } from '@vue/shared'
// a bit of ceremony to mark these internal only here because we need to include
// them in @vue/shared's typings
import { toDisplayString, camelize } from '@vue/shared'
/**
* @internal
*/
const _toDisplayString = toDisplayString
/**
* @internal
*/
const _camelize = camelize
export { _toDisplayString as toDisplayString, _camelize as camelize }
// For integration with runtime compiler
export { registerRuntimeCompiler } from './component'
// For test-utils