jiuyiUniapp/jiuyi/node_modules/unplugin-vue2-script-setup/shims.d.ts

7 lines
306 B
TypeScript

// workaround for Volar to infer the ref type in <template>
// https://github.com/johnsoncodehk/volar/issues/404
declare module '@vue/runtime-dom' {
export * from '@vue/runtime-dom/dist/runtime-dom'
export { defineComponent, PropType, ObjectDirective, FunctionDirective } from '@vue/composition-api'
}