Skip to content

Commit f04d994

Browse files
rklfssblakeembrey
authored andcommitted
Fix the intrinsic type name typo (#484)
1 parent 49a241e commit f04d994

File tree

23 files changed

+192
-192
lines changed

23 files changed

+192
-192
lines changed

src/lib/models/types/intrinsic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class IntrinsicType extends Type {
1616
/**
1717
* The type name identifier.
1818
*/
19-
readonly type: string = 'instrinct'; // TODO: Is there any change to correct this typo?
19+
readonly type: string = 'intrinsic';
2020

2121
/**
2222
* Create a new instance of IntrinsicType.

src/test/converter/access/specs.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
}
4848
],
4949
"type": {
50-
"type": "instrinct",
50+
"type": "intrinsic",
5151
"name": "string"
5252
}
5353
},
@@ -71,7 +71,7 @@
7171
}
7272
],
7373
"type": {
74-
"type": "instrinct",
74+
"type": "intrinsic",
7575
"name": "string"
7676
}
7777
},
@@ -97,7 +97,7 @@
9797
"shortText": "A function that is made private via comment."
9898
},
9999
"type": {
100-
"type": "instrinct",
100+
"type": "intrinsic",
101101
"name": "void"
102102
}
103103
}
@@ -132,7 +132,7 @@
132132
"shortText": "A function that is made protected via comment."
133133
},
134134
"type": {
135-
"type": "instrinct",
135+
"type": "intrinsic",
136136
"name": "void"
137137
}
138138
}
@@ -244,7 +244,7 @@
244244
"shortText": "A function that is made private via comment."
245245
},
246246
"type": {
247-
"type": "instrinct",
247+
"type": "intrinsic",
248248
"name": "void"
249249
}
250250
}
@@ -279,7 +279,7 @@
279279
"shortText": "A function that is made protected via comment."
280280
},
281281
"type": {
282-
"type": "instrinct",
282+
"type": "intrinsic",
283283
"name": "void"
284284
}
285285
}

src/test/converter/class/specs.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
}
9090
],
9191
"type": {
92-
"type": "instrinct",
92+
"type": "intrinsic",
9393
"isArray": true,
9494
"name": "number"
9595
}
@@ -114,7 +114,7 @@
114114
}
115115
],
116116
"type": {
117-
"type": "instrinct",
117+
"type": "intrinsic",
118118
"name": "string"
119119
}
120120
},
@@ -163,7 +163,7 @@
163163
"shortText": "privateMethod short text."
164164
},
165165
"type": {
166-
"type": "instrinct",
166+
"type": "intrinsic",
167167
"name": "void"
168168
}
169169
}
@@ -196,7 +196,7 @@
196196
"shortText": "protectedMethod short text."
197197
},
198198
"type": {
199-
"type": "instrinct",
199+
"type": "intrinsic",
200200
"name": "void"
201201
}
202202
}
@@ -229,7 +229,7 @@
229229
"shortText": "publicMethod short text."
230230
},
231231
"type": {
232-
"type": "instrinct",
232+
"type": "intrinsic",
233233
"name": "void"
234234
}
235235
}
@@ -262,7 +262,7 @@
262262
"shortText": "staticMethod short text."
263263
},
264264
"type": {
265-
"type": "instrinct",
265+
"type": "intrinsic",
266266
"name": "void"
267267
}
268268
}
@@ -360,7 +360,7 @@
360360
"shortText": "Constructor param"
361361
},
362362
"type": {
363-
"type": "instrinct",
363+
"type": "intrinsic",
364364
"name": "any"
365365
}
366366
},
@@ -374,7 +374,7 @@
374374
"shortText": "Private string property"
375375
},
376376
"type": {
377-
"type": "instrinct",
377+
"type": "intrinsic",
378378
"name": "string"
379379
}
380380
},
@@ -388,7 +388,7 @@
388388
"shortText": "Public number property"
389389
},
390390
"type": {
391-
"type": "instrinct",
391+
"type": "intrinsic",
392392
"name": "number"
393393
}
394394
},
@@ -402,7 +402,7 @@
402402
"shortText": "Public implicit any property\n"
403403
},
404404
"type": {
405-
"type": "instrinct",
405+
"type": "intrinsic",
406406
"name": "any"
407407
}
408408
}
@@ -453,7 +453,7 @@
453453
}
454454
],
455455
"type": {
456-
"type": "instrinct",
456+
"type": "intrinsic",
457457
"name": "string"
458458
}
459459
},
@@ -478,7 +478,7 @@
478478
}
479479
],
480480
"type": {
481-
"type": "instrinct",
481+
"type": "intrinsic",
482482
"name": "number"
483483
}
484484
},
@@ -503,7 +503,7 @@
503503
}
504504
],
505505
"type": {
506-
"type": "instrinct",
506+
"type": "intrinsic",
507507
"name": "any"
508508
}
509509
},
@@ -527,7 +527,7 @@
527527
}
528528
],
529529
"type": {
530-
"type": "instrinct",
530+
"type": "intrinsic",
531531
"name": "string"
532532
},
533533
"inheritedFrom": {
@@ -586,7 +586,7 @@
586586
"shortText": "protectedMethod short text."
587587
},
588588
"type": {
589-
"type": "instrinct",
589+
"type": "intrinsic",
590590
"name": "void"
591591
},
592592
"overwrites": {
@@ -629,7 +629,7 @@
629629
"shortText": "publicMethod short text."
630630
},
631631
"type": {
632-
"type": "instrinct",
632+
"type": "intrinsic",
633633
"name": "void"
634634
},
635635
"overwrites": {
@@ -672,7 +672,7 @@
672672
"shortText": "staticMethod short text."
673673
},
674674
"type": {
675-
"type": "instrinct",
675+
"type": "intrinsic",
676676
"name": "void"
677677
},
678678
"inheritedFrom": {

src/test/converter/constructor-properties/specs.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"shortText": "X component of the Vector"
5151
},
5252
"type": {
53-
"type": "instrinct",
53+
"type": "intrinsic",
5454
"name": "number"
5555
}
5656
},
@@ -64,7 +64,7 @@
6464
"shortText": "Y component of the Vector\n"
6565
},
6666
"type": {
67-
"type": "instrinct",
67+
"type": "intrinsic",
6868
"name": "number"
6969
}
7070
}
@@ -104,7 +104,7 @@
104104
}
105105
],
106106
"type": {
107-
"type": "instrinct",
107+
"type": "intrinsic",
108108
"name": "number"
109109
}
110110
},
@@ -128,7 +128,7 @@
128128
}
129129
],
130130
"type": {
131-
"type": "instrinct",
131+
"type": "intrinsic",
132132
"name": "number"
133133
}
134134
}
@@ -201,7 +201,7 @@
201201
"shortText": "X component of the Vector"
202202
},
203203
"type": {
204-
"type": "instrinct",
204+
"type": "intrinsic",
205205
"name": "number"
206206
}
207207
},
@@ -215,7 +215,7 @@
215215
"shortText": "Y component of the Vector"
216216
},
217217
"type": {
218-
"type": "instrinct",
218+
"type": "intrinsic",
219219
"name": "number"
220220
}
221221
},
@@ -229,7 +229,7 @@
229229
"shortText": "Z component of the Vector\n"
230230
},
231231
"type": {
232-
"type": "instrinct",
232+
"type": "intrinsic",
233233
"name": "number"
234234
}
235235
}
@@ -279,7 +279,7 @@
279279
}
280280
],
281281
"type": {
282-
"type": "instrinct",
282+
"type": "intrinsic",
283283
"name": "number"
284284
},
285285
"inheritedFrom": {
@@ -308,7 +308,7 @@
308308
}
309309
],
310310
"type": {
311-
"type": "instrinct",
311+
"type": "intrinsic",
312312
"name": "number"
313313
},
314314
"overwrites": {
@@ -337,7 +337,7 @@
337337
}
338338
],
339339
"type": {
340-
"type": "instrinct",
340+
"type": "intrinsic",
341341
"name": "number"
342342
}
343343
}

src/test/converter/decorators/specs.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"id": 13
3333
},
3434
"arguments": {
35-
"options": "{\n name: 'Name of class'\n}"
35+
"options": "{\r\n name: 'Name of class'\r\n}"
3636
}
3737
}
3838
],
@@ -75,7 +75,7 @@
7575
"shortText": "A decorated method."
7676
},
7777
"type": {
78-
"type": "instrinct",
78+
"type": "intrinsic",
7979
"name": "void"
8080
}
8181
}
@@ -151,11 +151,11 @@
151151
"type": "union",
152152
"types": [
153153
{
154-
"type": "instrinct",
154+
"type": "intrinsic",
155155
"name": "string"
156156
},
157157
{
158-
"type": "instrinct",
158+
"type": "intrinsic",
159159
"name": "symbol"
160160
}
161161
]
@@ -172,15 +172,15 @@
172172
"name": "TypedPropertyDescriptor",
173173
"typeArguments": [
174174
{
175-
"type": "instrinct",
175+
"type": "intrinsic",
176176
"name": "any"
177177
}
178178
]
179179
}
180180
}
181181
],
182182
"type": {
183-
"type": "instrinct",
183+
"type": "intrinsic",
184184
"name": "void"
185185
}
186186
}
@@ -252,7 +252,7 @@
252252
}
253253
],
254254
"type": {
255-
"type": "instrinct",
255+
"type": "intrinsic",
256256
"name": "string"
257257
}
258258
}
@@ -325,7 +325,7 @@
325325
"text": "The parameter of this decorator.\n"
326326
},
327327
"type": {
328-
"type": "instrinct",
328+
"type": "intrinsic",
329329
"name": "boolean"
330330
}
331331
}

0 commit comments

Comments
 (0)