From fd02914e163657c0810dc882ffdbc99a1ac2843a Mon Sep 17 00:00:00 2001 From: Michael Dodge Date: Fri, 4 Sep 2020 11:30:45 -0600 Subject: [PATCH] Fix Typo --- templates/single/src/entry.esm.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/single/src/entry.esm.ts b/templates/single/src/entry.esm.ts index 36fc0a8..74bddf1 100644 --- a/templates/single/src/entry.esm.ts +++ b/templates/single/src/entry.esm.ts @@ -1,6 +1,7 @@ -<% if (version === 3) { -%> +<% if (ts && version === 3) { -%> import { App, defineComponent, Plugin } from 'vue'; -<% } else if (ts) { -%> + +<% } else if (ts && version === 2) { -%> import _Vue, { PluginFunction, PluginObject, VueConstructor } from 'vue'; <% } -%>