You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/language-js/index.js(81,60): error TS2345: Argument of type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; exclude: any; }'.
199
199
Type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is missing the following properties from type '{ extend: any; override: any; exclude: any; }': extend, exclude
200
-
src/language-js/needs-parens.js(875,14): error TS2769: No overload matches this call.
200
+
src/language-js/needs-parens.js(857,14): error TS2769: No overload matches this call.
201
201
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
202
202
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
203
203
The types returned by 'slice(...)' are incompatible between these types.
@@ -207,46 +207,40 @@ src/language-js/needs-parens.js(875,14): error TS2769: No overload matches this
207
207
Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error.
208
208
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
209
209
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
210
-
src/language-js/printer-estree.js(263,36): error TS2304: Cannot find name 'Doc'.
211
-
src/language-js/printer-estree.js(264,62): error TS2304: Cannot find name 'Doc'.
212
-
src/language-js/printer-estree.js(271,12): error TS2304: Cannot find name 'FastPath'.
213
-
src/language-js/printer-estree.js(272,12): error TS2304: Cannot find name 'Options'.
214
-
src/language-js/printer-estree.js(398,9): error TS2769: No overload matches this call.
210
+
src/language-js/printer-estree.js(262,36): error TS2304: Cannot find name 'Doc'.
211
+
src/language-js/printer-estree.js(263,62): error TS2304: Cannot find name 'Doc'.
212
+
src/language-js/printer-estree.js(270,12): error TS2304: Cannot find name 'FastPath'.
213
+
src/language-js/printer-estree.js(271,12): error TS2304: Cannot find name 'Options'.
214
+
src/language-js/printer-estree.js(397,9): error TS2769: No overload matches this call.
215
215
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
216
216
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
217
217
Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray<never>': length, join, slice
218
218
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
219
219
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
220
220
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
221
-
src/language-js/printer-estree.js(1480,28): error TS2769: No overload matches this call.
222
-
Overload 1 of 2, '(...items: ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>[]): (string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; })[]', gave the following error.
223
-
Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>'.
224
-
Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>': length, join, slice
Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; } | ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>'.
227
-
Type '{ type: string; parts: any; }' is missing the following properties from type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }': id, contents, break, expandedStates
228
-
src/language-js/printer-estree.js(1913,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
229
-
src/language-js/printer-estree.js(1915,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
230
-
src/language-js/printer-estree.js(1917,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
231
-
src/language-js/printer-estree.js(1926,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
232
-
src/language-js/printer-estree.js(3475,11): error TS2769: No overload matches this call.
221
+
src/language-js/printer-estree.js(1896,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
222
+
src/language-js/printer-estree.js(1898,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
223
+
Type '{ type: string; parts: any; }' is missing the following properties from type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }': id, contents, break, expandedStates
224
+
src/language-js/printer-estree.js(1900,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
225
+
src/language-js/printer-estree.js(1909,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
226
+
src/language-js/printer-estree.js(3430,11): error TS2769: No overload matches this call.
233
227
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
234
228
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
235
229
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
236
230
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
237
231
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
238
232
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
239
-
src/language-js/printer-estree.js(3829,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
240
-
src/language-js/printer-estree.js(4037,23): error TS2532: Object is possibly 'undefined'.
241
-
src/language-js/printer-estree.js(4038,24): error TS2532: Object is possibly 'undefined'.
242
-
src/language-js/printer-estree.js(4400,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
233
+
src/language-js/printer-estree.js(3782,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
234
+
src/language-js/printer-estree.js(3990,23): error TS2532: Object is possibly 'undefined'.
235
+
src/language-js/printer-estree.js(3991,24): error TS2532: Object is possibly 'undefined'.
236
+
src/language-js/printer-estree.js(4312,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
243
237
Type '{ type: string; parts: any; }' is not assignable to type 'string'.
244
-
src/language-js/printer-estree.js(4404,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
245
-
src/language-js/printer-estree.js(4452,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'.
246
-
src/language-js/printer-estree.js(4467,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
247
-
src/language-js/printer-estree.js(4479,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
248
-
src/language-js/printer-estree.js(4752,9): error TS2554: Expected 0-2 arguments, but got 3.
249
-
src/language-js/printer-estree.js(5760,7): error TS2769: No overload matches this call.
238
+
src/language-js/printer-estree.js(4316,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
239
+
src/language-js/printer-estree.js(4364,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'.
240
+
src/language-js/printer-estree.js(4379,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
241
+
src/language-js/printer-estree.js(4391,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
242
+
src/language-js/printer-estree.js(4664,9): error TS2554: Expected 0-2 arguments, but got 3.
243
+
src/language-js/printer-estree.js(5672,7): error TS2769: No overload matches this call.
250
244
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
251
245
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
252
246
The types returned by 'slice(...)' are incompatible between these types.
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
258
252
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
259
253
src/language-js/utils.js(118,55): error TS2554: Expected 0-1 arguments, but got 2.
260
-
src/language-js/utils.js(431,14): error TS2339: Property 'comments' does not exist on type 'Expression'.
254
+
src/language-js/utils.js(417,14): error TS2339: Property 'comments' does not exist on type 'Expression'.
261
255
Property 'comments' does not exist on type 'Identifier'.
262
-
src/language-js/utils.js(443,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
263
-
src/language-js/utils.js(444,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
256
+
src/language-js/utils.js(429,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
257
+
src/language-js/utils.js(430,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
264
258
Property 'property' does not exist on type 'SimpleLiteral'.
265
-
src/language-js/utils.js(444,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
259
+
src/language-js/utils.js(430,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
266
260
Property 'property' does not exist on type 'SimpleLiteral'.
267
-
src/language-js/utils.js(449,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
268
-
src/language-js/utils.js(451,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
261
+
src/language-js/utils.js(435,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
262
+
src/language-js/utils.js(437,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
269
263
Property 'object' does not exist on type 'SimpleLiteral'.
270
-
src/language-js/utils.js(452,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
264
+
src/language-js/utils.js(438,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
271
265
Property 'comments' does not exist on type 'SimpleLiteral'.
272
-
src/language-js/utils.js(458,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"Identifier"' have no overlap.
273
-
src/language-js/utils.js(459,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"ThisExpression"' have no overlap.
266
+
src/language-js/utils.js(444,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"Identifier"' have no overlap.
267
+
src/language-js/utils.js(445,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"ThisExpression"' have no overlap.
0 commit comments