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 8fec623 commit 852d71d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/plugin-vue/src/template.ts
Original file line number Diff line number Diff line change
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 852d71d

Please sign in to comment.