Skip to content

Commit

Permalink
types: fix compiler-dom rolled up dts
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 2, 2020
1 parent 5c4833e commit cee5363
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/compiler-dom/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {
CompilerOptions,
CodegenResult,
isBuiltInType,
ParserOptions
ParserOptions,
RootNode
} from '@vue/compiler-core'
import { parserOptionsMinimal } from './parserOptionsMinimal'
import { parserOptionsStandard } from './parserOptionsStandard'
Expand Down Expand Up @@ -46,7 +47,7 @@ export function compile(
})
}

export function parse(template: string, options: ParserOptions = {}) {
export function parse(template: string, options: ParserOptions = {}): RootNode {
return baseParse(template, {
...parserOptions,
...options
Expand Down

0 comments on commit cee5363

Please sign in to comment.