File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 21
21
" allow-leading-underscore" ,
22
22
" allow-pascal-case"
23
23
],
24
- "no-namespace" : false
24
+ "no-namespace" : false ,
25
+ "array-type" : [true , " array" ]
25
26
}
26
27
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ declare module 'vue-template-compiler' {
24
24
25
25
interface CompiledResultFunctions {
26
26
render : ( ) => VNode ;
27
- staticRenderFns : Array < ( ) => VNode > ;
27
+ staticRenderFns : ( ( ) => VNode ) [ ] ;
28
28
}
29
29
30
30
interface ModuleOptions {
@@ -86,7 +86,7 @@ declare module 'vue-template-compiler' {
86
86
export interface ASTElement {
87
87
type : 1 ;
88
88
tag : string ;
89
- attrsList : Array < { name : string ; value : any } > ;
89
+ attrsList : { name : string ; value : any } [ ] ;
90
90
attrsMap : Record < string , any > ;
91
91
parent : ASTElement | undefined ;
92
92
children : ASTNode [ ] ;
@@ -100,8 +100,8 @@ declare module 'vue-template-compiler' {
100
100
hasBindings ?: boolean ;
101
101
102
102
text ?: string ;
103
- attrs ?: Array < { name : string ; value : any } > ;
104
- props ?: Array < { name : string ; value : string } > ;
103
+ attrs ?: { name : string ; value : any } [ ] ;
104
+ props ?: { name : string ; value : string } [ ] ;
105
105
plain ?: boolean ;
106
106
pre ?: true ;
107
107
ns ?: string ;
@@ -165,7 +165,7 @@ declare module 'vue-template-compiler' {
165
165
type : 2 ;
166
166
expression : string ;
167
167
text : string ;
168
- tokens : Array < string | Record < string , any > > ;
168
+ tokens : ( string | Record < string , any > ) [ ] ;
169
169
static ?: boolean ;
170
170
// 2.4 ssr optimization
171
171
ssrOptimizability ?: SSROptimizability ;
You can’t perform that action at this time.
0 commit comments