types: fix compiler-dom rolled up dts

This commit is contained in:
Evan You 2020-01-02 18:21:56 -05:00
parent 5c4833e204
commit cee536360e

View File

@ -4,7 +4,8 @@ import {
CompilerOptions,
CodegenResult,
isBuiltInType,
ParserOptions
ParserOptions,
RootNode
} from '@vue/compiler-core'
import { parserOptionsMinimal } from './parserOptionsMinimal'
import { parserOptionsStandard } from './parserOptionsStandard'
@ -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