File tree 1 file changed +69
-0
lines changed
tests/fixtures/typescript/basics
1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ module.exports = {
42
42
] ,
43
43
"static" : false ,
44
44
"type" : "ClassProperty" ,
45
+ "typeAnnotation" : null ,
45
46
"value" : null
46
47
} ,
47
48
{
@@ -83,6 +84,40 @@ module.exports = {
83
84
] ,
84
85
"static" : false ,
85
86
"type" : "ClassProperty" ,
87
+ "typeAnnotation" : {
88
+ "loc" : {
89
+ "end" : {
90
+ "column" : 15 ,
91
+ "line" : 3
92
+ } ,
93
+ "start" : {
94
+ "column" : 9 ,
95
+ "line" : 3
96
+ }
97
+ } ,
98
+ "range" : [
99
+ 29 ,
100
+ 35
101
+ ] ,
102
+ "type" : "TypeAnnotation" ,
103
+ "typeAnnotation" : {
104
+ "loc" : {
105
+ "end" : {
106
+ "column" : 15 ,
107
+ "line" : 3
108
+ } ,
109
+ "start" : {
110
+ "column" : 9 ,
111
+ "line" : 3
112
+ }
113
+ } ,
114
+ "range" : [
115
+ 29 ,
116
+ 35
117
+ ] ,
118
+ "type" : "TSStringKeyword"
119
+ }
120
+ } ,
86
121
"value" : null
87
122
} ,
88
123
{
@@ -124,6 +159,40 @@ module.exports = {
124
159
] ,
125
160
"static" : false ,
126
161
"type" : "ClassProperty" ,
162
+ "typeAnnotation" : {
163
+ "loc" : {
164
+ "end" : {
165
+ "column" : 23 ,
166
+ "line" : 4
167
+ } ,
168
+ "start" : {
169
+ "column" : 17 ,
170
+ "line" : 4
171
+ }
172
+ } ,
173
+ "range" : [
174
+ 54 ,
175
+ 60
176
+ ] ,
177
+ "type" : "TypeAnnotation" ,
178
+ "typeAnnotation" : {
179
+ "loc" : {
180
+ "end" : {
181
+ "column" : 23 ,
182
+ "line" : 4
183
+ } ,
184
+ "start" : {
185
+ "column" : 17 ,
186
+ "line" : 4
187
+ }
188
+ } ,
189
+ "range" : [
190
+ 54 ,
191
+ 60
192
+ ] ,
193
+ "type" : "TSStringKeyword"
194
+ }
195
+ } ,
127
196
"value" : null
128
197
}
129
198
] ,
You can’t perform that action at this time.
0 commit comments