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/cli/util.js(63,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
27
-
src/cli/util.js(122,38): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'.
28
-
src/cli/util.js(416,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'.
26
+
src/cli/util.js(60,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
27
+
src/cli/util.js(119,38): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'.
28
+
src/cli/util.js(413,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'.
29
29
Object literal may only specify known properties, and 'nodir' does not exist in type 'GlobbyOptions'.
30
-
src/cli/util.js(483,46): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
31
-
src/cli/util.js(509,36): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'.
32
-
src/cli/util.js(562,39): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'.
33
-
src/cli/util.js(635,16): error TS2339: Property 'type' does not exist on type 'never'.
34
-
src/cli/util.js(636,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'.
35
-
src/cli/util.js(637,17): error TS2339: Property 'name' does not exist on type 'never'.
36
-
src/cli/util.js(737,22): error TS2339: Property 'name' does not exist on type 'never'.
37
-
src/cli/util.js(737,46): error TS2339: Property 'alias' does not exist on type 'never'.
30
+
src/cli/util.js(507,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
31
+
src/cli/util.js(528,37): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'.
32
+
src/cli/util.js(591,16): error TS2339: Property 'type' does not exist on type 'never'.
33
+
src/cli/util.js(592,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'.
34
+
src/cli/util.js(593,17): error TS2339: Property 'name' does not exist on type 'never'.
35
+
src/cli/util.js(693,22): error TS2339: Property 'name' does not exist on type 'never'.
36
+
src/cli/util.js(693,46): error TS2339: Property 'alias' does not exist on type 'never'.
38
37
src/common/create-ignorer.js(34,19): error TS2349: This expression is not callable.
39
38
Type 'typeof import("/prettier/prettier/node_modules/ignore/index")' has no call signatures.
40
39
src/common/parser-create-error.js(8,9): error TS2339: Property 'loc' does not exist on type 'SyntaxError'.
@@ -208,60 +207,46 @@ src/language-js/needs-parens.js(871,14): error TS2769: No overload matches this
208
207
Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error.
209
208
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
210
209
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
211
-
src/language-js/printer-estree.js(265,36): error TS2304: Cannot find name 'Doc'.
212
-
src/language-js/printer-estree.js(266,62): error TS2304: Cannot find name 'Doc'.
213
-
src/language-js/printer-estree.js(273,12): error TS2304: Cannot find name 'FastPath'.
214
-
src/language-js/printer-estree.js(274,12): error TS2304: Cannot find name 'Options'.
215
-
src/language-js/printer-estree.js(400,9): error TS2769: No overload matches this call.
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.
216
215
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
217
216
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
218
217
Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray<never>': length, join, slice
219
218
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
220
219
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
221
220
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
222
-
src/language-js/printer-estree.js(1489,28): error TS2769: No overload matches this call.
221
+
src/language-js/printer-estree.js(1478,28): error TS2769: No overload matches this call.
223
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.
224
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; }>'.
225
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; }>'.
228
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
229
-
src/language-js/printer-estree.js(1922,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
230
-
src/language-js/printer-estree.js(1924,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; }'.
231
-
src/language-js/printer-estree.js(1926,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
232
-
src/language-js/printer-estree.js(1935,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
233
-
src/language-js/printer-estree.js(3481,11): error TS2769: No overload matches this call.
228
+
src/language-js/printer-estree.js(1911,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(1913,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(1915,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(1924,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(3470,11): error TS2769: No overload matches this call.
234
233
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
235
234
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
236
235
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
237
236
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
238
237
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
239
238
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
240
-
src/language-js/printer-estree.js(3910,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
241
-
src/language-js/printer-estree.js(3977,14): error TS2339: Property 'comments' does not exist on type 'Expression'.
242
-
Property 'comments' does not exist on type 'Identifier'.
243
-
src/language-js/printer-estree.js(3989,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"OptionalMemberExpression"' have no overlap.
244
-
src/language-js/printer-estree.js(3990,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
245
-
Property 'property' does not exist on type 'SimpleLiteral'.
246
-
src/language-js/printer-estree.js(3990,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
247
-
Property 'property' does not exist on type 'SimpleLiteral'.
248
-
src/language-js/printer-estree.js(3995,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"OptionalMemberExpression"' have no overlap.
249
-
src/language-js/printer-estree.js(3997,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
250
-
Property 'object' does not exist on type 'SimpleLiteral'.
251
-
src/language-js/printer-estree.js(3998,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
252
-
Property 'comments' does not exist on type 'SimpleLiteral'.
253
-
src/language-js/printer-estree.js(4004,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"Identifier"' have no overlap.
254
-
src/language-js/printer-estree.js(4005,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"ThisExpression"' have no overlap.
255
-
src/language-js/printer-estree.js(4209,23): error TS2532: Object is possibly 'undefined'.
256
-
src/language-js/printer-estree.js(4210,24): error TS2532: Object is possibly 'undefined'.
257
-
src/language-js/printer-estree.js(4572,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
239
+
src/language-js/printer-estree.js(3824,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
240
+
src/language-js/printer-estree.js(4032,23): error TS2532: Object is possibly 'undefined'.
241
+
src/language-js/printer-estree.js(4033,24): error TS2532: Object is possibly 'undefined'.
242
+
src/language-js/printer-estree.js(4395,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
258
243
Type '{ type: string; parts: any; }' is not assignable to type 'string'.
259
-
src/language-js/printer-estree.js(4576,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
260
-
src/language-js/printer-estree.js(4624,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'.
261
-
src/language-js/printer-estree.js(4639,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
262
-
src/language-js/printer-estree.js(4651,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
263
-
src/language-js/printer-estree.js(4945,9): error TS2554: Expected 0-2 arguments, but got 3.
264
-
src/language-js/printer-estree.js(6155,7): error TS2769: No overload matches this call.
244
+
src/language-js/printer-estree.js(4399,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(4447,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(4462,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
247
+
src/language-js/printer-estree.js(4474,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(4747,9): error TS2554: Expected 0-2 arguments, but got 3.
249
+
src/language-js/printer-estree.js(5755,7): error TS2769: No overload matches this call.
265
250
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
266
251
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
267
252
The types returned by 'slice(...)' are incompatible between these types.
Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error.
272
257
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
273
258
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
274
-
src/language-js/utils.js(107,55): error TS2554: Expected 0-1 arguments, but got 2.
259
+
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'.
261
+
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'.
264
+
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'.
266
+
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'.
269
+
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'.
271
+
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.
0 commit comments