From dc8e6c91e84a5a356e89d968909f97c0049a69b1 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 24 Aug 2021 12:07:17 -0400 Subject: [PATCH] chore(plugin-vue): fix return type annotation --- packages/plugin-vue/src/template.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/plugin-vue/src/template.ts b/packages/plugin-vue/src/template.ts index 99ccbb520ec952..6e76333519884b 100644 --- a/packages/plugin-vue/src/template.ts +++ b/packages/plugin-vue/src/template.ts @@ -3,7 +3,8 @@ import slash from 'slash' import { compileTemplate, SFCDescriptor, - SFCTemplateCompileOptions + SFCTemplateCompileOptions, + SFCTemplateCompileResults } from '@vue/compiler-sfc' import { PluginContext, TransformPluginContext } from 'rollup' import { ResolvedOptions } from '.' @@ -48,7 +49,7 @@ export function transformTemplateInMain( options: ResolvedOptions, pluginContext: PluginContext, ssr: boolean -) { +): SFCTemplateCompileResults { const result = compile(code, descriptor, options, pluginContext, ssr) return { ...result,