types: fix compiler-dom rolled up dts
This commit is contained in:
parent
5c4833e204
commit
cee536360e
@ -4,7 +4,8 @@ import {
|
|||||||
CompilerOptions,
|
CompilerOptions,
|
||||||
CodegenResult,
|
CodegenResult,
|
||||||
isBuiltInType,
|
isBuiltInType,
|
||||||
ParserOptions
|
ParserOptions,
|
||||||
|
RootNode
|
||||||
} from '@vue/compiler-core'
|
} from '@vue/compiler-core'
|
||||||
import { parserOptionsMinimal } from './parserOptionsMinimal'
|
import { parserOptionsMinimal } from './parserOptionsMinimal'
|
||||||
import { parserOptionsStandard } from './parserOptionsStandard'
|
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, {
|
return baseParse(template, {
|
||||||
...parserOptions,
|
...parserOptions,
|
||||||
...options
|
...options
|
||||||
|
Loading…
Reference in New Issue
Block a user