File tree 1 file changed +11
-13
lines changed
packages/compiler-sfc/src
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,6 @@ export interface SFCParseOptions {
20
20
compiler ?: TemplateCompiler
21
21
}
22
22
23
- export interface SFCDescriptor {
24
- filename : string
25
- source : string
26
- template : SFCTemplateBlock | null
27
- script : SFCScriptBlock | null
28
- scriptSetup : SFCScriptBlock | null
29
- scriptCompiled : SFCScriptBlock | null
30
- styles : SFCStyleBlock [ ]
31
- customBlocks : SFCBlock [ ]
32
- cssVars : string [ ]
33
- }
34
-
35
23
export interface SFCBlock {
36
24
type : string
37
25
content : string
@@ -61,6 +49,17 @@ export interface SFCStyleBlock extends SFCBlock {
61
49
module ?: string | boolean
62
50
}
63
51
52
+ export interface SFCDescriptor {
53
+ filename : string
54
+ source : string
55
+ template : SFCTemplateBlock | null
56
+ script : SFCScriptBlock | null
57
+ scriptSetup : SFCScriptBlock | null
58
+ styles : SFCStyleBlock [ ]
59
+ customBlocks : SFCBlock [ ]
60
+ cssVars : string [ ]
61
+ }
62
+
64
63
export interface SFCParseResult {
65
64
descriptor : SFCDescriptor
66
65
errors : ( CompilerError | SyntaxError ) [ ]
@@ -98,7 +97,6 @@ export function parse(
98
97
template : null ,
99
98
script : null ,
100
99
scriptSetup : null ,
101
- scriptCompiled : null ,
102
100
styles : [ ] ,
103
101
customBlocks : [ ] ,
104
102
cssVars : [ ]
You can’t perform that action at this time.
0 commit comments