feat(types): adjust type exports for manual render function and tooling usage

- v-model and v-show directives are now exposed as public
- compiler-used runtime helpers are now exposed for TS tooling, but marked as @private

close #1329
This commit is contained in:
Evan You
2020-06-10 14:57:21 -04:00
parent 9b5d13e598
commit e4dc03a8b1
13 changed files with 40 additions and 45 deletions

View File

@@ -229,11 +229,11 @@ export {
// them in @vue/shared's typings
import { toDisplayString, camelize } from '@vue/shared'
/**
* @internal
* @private
*/
const _toDisplayString = toDisplayString
/**
* @internal
* @private
*/
const _camelize = camelize
export { _toDisplayString as toDisplayString, _camelize as camelize }