Skip to content

Commit cee5363

Browse files
committed
types: fix compiler-dom rolled up dts
1 parent 5c4833e commit cee5363

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/compiler-dom/src/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import {
44
CompilerOptions,
55
CodegenResult,
66
isBuiltInType,
7-
ParserOptions
7+
ParserOptions,
8+
RootNode
89
} from '@vue/compiler-core'
910
import { parserOptionsMinimal } from './parserOptionsMinimal'
1011
import { parserOptionsStandard } from './parserOptionsStandard'
@@ -46,7 +47,7 @@ export function compile(
4647
})
4748
}
4849

49-
export function parse(template: string, options: ParserOptions = {}) {
50+
export function parse(template: string, options: ParserOptions = {}): RootNode {
5051
return baseParse(template, {
5152
...parserOptions,
5253
...options

0 commit comments

Comments
 (0)