Skip to content

Commit bc41f55

Browse files
Update user baselines
1 parent e8782ae commit bc41f55

8 files changed

+724
-498
lines changed

tests/baselines/reference/user/TypeScript-React-Native-Starter.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Standard output:
33
node_modules/@types/react-native/index.d.ts(3425,42): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.
44
node_modules/@types/react-native/index.d.ts(3438,42): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.
55
node_modules/@types/react-native/index.d.ts(8745,18): error TS2717: Subsequent property declarations must have the same type. Property 'geolocation' must be of type 'Geolocation', but here has type 'GeolocationStatic'.
6-
node_modules/@types/react/index.d.ts(373,23): error TS2583: Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.
6+
node_modules/@types/react/index.d.ts(374,23): error TS2583: Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.
77

88

99

tests/baselines/reference/user/axios-src.log

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ lib/adapters/xhr.js(64,7): error TS2322: Type 'null' is not assignable to type '
1414
lib/adapters/xhr.js(76,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1515
lib/adapters/xhr.js(83,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
1616
lib/adapters/xhr.js(86,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
17-
lib/adapters/xhr.js(95,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
18-
lib/adapters/xhr.js(165,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
17+
lib/adapters/xhr.js(99,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
18+
lib/adapters/xhr.js(169,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1919
lib/axios.js(23,9): error TS2554: Expected 3 arguments, but got 2.
2020
lib/axios.js(25,3): error TS2739: Type '(...args: any[]) => any' is missing the following properties from type 'Axios': defaults, interceptors, request, getUri
2121
lib/axios.js(32,7): error TS2339: Property 'Axios' does not exist on type 'Axios'.

tests/baselines/reference/user/bluebird.log

Lines changed: 0 additions & 159 deletions
Large diffs are not rendered by default.

tests/baselines/reference/user/chrome-devtools-frontend.log

Lines changed: 565 additions & 241 deletions
Large diffs are not rendered by default.

tests/baselines/reference/user/prettier.log

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -218,29 +218,29 @@ src/language-js/printer-estree.js(398,9): error TS2769: No overload matches this
218218
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
219219
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
220220
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
221-
src/language-js/printer-estree.js(1897,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(1899,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; }'.
221+
src/language-js/printer-estree.js(1900,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(1902,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; }'.
223223
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(1901,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(1910,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.
224+
src/language-js/printer-estree.js(1904,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(1913,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(3433,11): error TS2769: No overload matches this call.
227227
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
228228
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
229229
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
230230
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
231231
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
232232
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
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'.
233+
src/language-js/printer-estree.js(3783,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
234+
src/language-js/printer-estree.js(3991,23): error TS2532: Object is possibly 'undefined'.
235+
src/language-js/printer-estree.js(3992,24): error TS2532: Object is possibly 'undefined'.
236+
src/language-js/printer-estree.js(4313,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
237237
Type '{ type: string; parts: any; }' is not assignable to type 'string'.
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(5674,7): error TS2769: No overload matches this call.
238+
src/language-js/printer-estree.js(4317,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(4365,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(4380,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
241+
src/language-js/printer-estree.js(4392,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(4670,9): error TS2554: Expected 0-2 arguments, but got 3.
243+
src/language-js/printer-estree.js(5680,7): error TS2769: No overload matches this call.
244244
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
245245
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
246246
The types returned by 'slice(...)' are incompatible between these types.

tests/baselines/reference/user/puppeteer.log

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ lib/NetworkManager.js(295,15): error TS2503: Cannot find namespace 'Protocol'.
4242
lib/NetworkManager.js(319,15): error TS2503: Cannot find namespace 'Protocol'.
4343
lib/NetworkManager.js(529,15): error TS2503: Cannot find namespace 'Protocol'.
4444
lib/NetworkManager.js(668,15): error TS2503: Cannot find namespace 'Protocol'.
45-
lib/Page.js(93,33): error TS2345: Argument of type 'CDPSession' is not assignable to parameter of type 'Puppeteer.CDPSession'.
45+
lib/Page.js(94,33): error TS2345: Argument of type 'CDPSession' is not assignable to parameter of type 'Puppeteer.CDPSession'.
4646
Types of property 'on' are incompatible.
4747
Type '(event: string | symbol, listener: (...args: any[]) => void) => CDPSession' is not assignable to type '<T extends string | number | symbol>(event: T, listener: (arg: any) => void) => CDPSession'.
4848
Types of parameters 'event' and 'event' are incompatible.
@@ -52,20 +52,20 @@ lib/Page.js(93,33): error TS2345: Argument of type 'CDPSession' is not assignabl
5252
Type 'T' is not assignable to type 'symbol'.
5353
Type 'string | number | symbol' is not assignable to type 'symbol'.
5454
Type 'string' is not assignable to type 'symbol'.
55-
lib/Page.js(146,15): error TS2503: Cannot find namespace 'Protocol'.
56-
lib/Page.js(219,15): error TS2503: Cannot find namespace 'Protocol'.
57-
lib/Page.js(387,20): error TS2503: Cannot find namespace 'Protocol'.
58-
lib/Page.js(450,7): error TS2740: Type '(...args: any[]) => Promise<any>' is missing the following properties from type 'Window': applicationCache, caches, clientInformation, closed, and 227 more.
59-
lib/Page.js(460,9): error TS2349: This expression is not callable.
55+
lib/Page.js(147,15): error TS2503: Cannot find namespace 'Protocol'.
56+
lib/Page.js(220,15): error TS2503: Cannot find namespace 'Protocol'.
57+
lib/Page.js(388,20): error TS2503: Cannot find namespace 'Protocol'.
58+
lib/Page.js(451,7): error TS2740: Type '(...args: any[]) => Promise<any>' is missing the following properties from type 'Window': applicationCache, caches, clientInformation, closed, and 227 more.
59+
lib/Page.js(461,9): error TS2349: This expression is not callable.
6060
Type 'Window' has no call signatures.
61-
lib/Page.js(496,15): error TS2503: Cannot find namespace 'Protocol'.
62-
lib/Page.js(506,22): error TS2503: Cannot find namespace 'Protocol'.
63-
lib/Page.js(519,15): error TS2503: Cannot find namespace 'Protocol'.
64-
lib/Page.js(529,15): error TS2503: Cannot find namespace 'Protocol'.
65-
lib/Page.js(554,15): error TS2503: Cannot find namespace 'Protocol'.
66-
lib/Page.js(607,14): error TS2503: Cannot find namespace 'Protocol'.
67-
lib/Page.js(914,19): error TS2503: Cannot find namespace 'Protocol'.
68-
lib/Page.js(1315,15): error TS2503: Cannot find namespace 'Protocol'.
61+
lib/Page.js(497,15): error TS2503: Cannot find namespace 'Protocol'.
62+
lib/Page.js(507,22): error TS2503: Cannot find namespace 'Protocol'.
63+
lib/Page.js(520,15): error TS2503: Cannot find namespace 'Protocol'.
64+
lib/Page.js(530,15): error TS2503: Cannot find namespace 'Protocol'.
65+
lib/Page.js(555,15): error TS2503: Cannot find namespace 'Protocol'.
66+
lib/Page.js(608,14): error TS2503: Cannot find namespace 'Protocol'.
67+
lib/Page.js(915,19): error TS2503: Cannot find namespace 'Protocol'.
68+
lib/Page.js(1316,15): error TS2503: Cannot find namespace 'Protocol'.
6969
lib/Target.js(23,15): error TS2503: Cannot find namespace 'Protocol'.
7070
lib/Target.js(87,7): error TS2322: Type 'Promise<Worker | Worker>' is not assignable to type 'Promise<Worker>'.
7171
Type 'Worker | Worker' is not assignable to type 'Worker'.

0 commit comments

Comments
 (0)