diff --git a/templates/vue+/client/js/template.d.ts b/templates/vue+/client/js/template.d.ts index 63ac4cc4..b337b333 100644 --- a/templates/vue+/client/js/template.d.ts +++ b/templates/vue+/client/js/template.d.ts @@ -1,13 +1,13 @@ -import Vue from 'vue'; +import { CreateElement, VNode } from 'vue'; declare global { - interface CompiledVueTemplate { - render: Vue.CreateElement, - staticRenderFns: ((createElement: Vue.CreateElement) => Vue.VNode)[] + interface VueCompiledTemplate { + render(h: CreateElement): VNode; + staticRenderFns: ((h: CreateElement) => VNode)[]; } module '*.html' { - let _: CompiledVueTemplate; + let _: VueCompiledTemplate; export = _; } }