File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ interface ParseOptions {
31
31
}
32
32
33
33
interface SFCDescriptor {
34
- template? : SFCBlock
35
- script? : SFCBlock
34
+ template: SFCBlock | null
35
+ script: SFCBlock | null
36
36
styles: SFCBlock []
37
37
customBlocks: SFCCustomBlock []
38
38
}
@@ -43,7 +43,7 @@ interface SFCCustomBlock {
43
43
attrs: { [key : string ]: string }
44
44
start: number
45
45
end: number
46
- map: RawSourceMap
46
+ map? : RawSourceMap
47
47
}
48
48
49
49
interface SFCBlock extends SFCCustomBlock {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface SFCCustomBlock {
26
26
attrs : { [ key : string ] : string }
27
27
start : number
28
28
end : number
29
- map : RawSourceMap
29
+ map ? : RawSourceMap
30
30
}
31
31
32
32
export interface SFCBlock extends SFCCustomBlock {
@@ -37,8 +37,8 @@ export interface SFCBlock extends SFCCustomBlock {
37
37
}
38
38
39
39
export interface SFCDescriptor {
40
- template ? : SFCBlock
41
- script ? : SFCBlock
40
+ template : SFCBlock | null
41
+ script : SFCBlock | null
42
42
styles : SFCBlock [ ]
43
43
customBlocks : SFCCustomBlock [ ]
44
44
}
You can’t perform that action at this time.
0 commit comments