Skip to content

Commit

Permalink
chore(plugin-vue): fix return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 24, 2021
1 parent e5f7277 commit dc8e6c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/plugin-vue/src/template.ts
Expand Up @@ -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 '.'
Expand Down Expand Up @@ -48,7 +49,7 @@ export function transformTemplateInMain(
options: ResolvedOptions,
pluginContext: PluginContext,
ssr: boolean
) {
): SFCTemplateCompileResults {
const result = compile(code, descriptor, options, pluginContext, ssr)
return {
...result,
Expand Down

0 comments on commit dc8e6c9

Please sign in to comment.