We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4833e commit cee5363Copy full SHA for cee5363
packages/compiler-dom/src/index.ts
@@ -4,7 +4,8 @@ import {
4
CompilerOptions,
5
CodegenResult,
6
isBuiltInType,
7
- ParserOptions
+ ParserOptions,
8
+ RootNode
9
} from '@vue/compiler-core'
10
import { parserOptionsMinimal } from './parserOptionsMinimal'
11
import { parserOptionsStandard } from './parserOptionsStandard'
@@ -46,7 +47,7 @@ export function compile(
46
47
})
48
}
49
-export function parse(template: string, options: ParserOptions = {}) {
50
+export function parse(template: string, options: ParserOptions = {}): RootNode {
51
return baseParse(template, {
52
...parserOptions,
53
...options
0 commit comments