Skip to content

Commit 66ba80e

Browse files
Update user baselines
1 parent a3a55ca commit 66ba80e

File tree

9 files changed

+1915
-231
lines changed

9 files changed

+1915
-231
lines changed

tests/baselines/reference/user/TypeScript-Node-Starter.log

-13
This file was deleted.

tests/baselines/reference/user/async.log

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ node_modules/async/dist/async.js(622,80): error TS2339: Property 'nodeType' does
9494
node_modules/async/dist/async.js(748,84): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'.
9595
node_modules/async/dist/async.js(754,49): error TS2339: Property 'process' does not exist on type 'false | Global'.
9696
Property 'process' does not exist on type 'false'.
97+
node_modules/async/dist/async.js(810,45): error TS2554: Expected 0 arguments, but got 1.
9798
node_modules/async/dist/async.js(923,32): error TS2554: Expected 2 arguments, but got 1.
9899
node_modules/async/dist/async.js(1299,18): error TS2532: Object is possibly 'undefined'.
99100
node_modules/async/dist/async.js(1303,3): error TS2322: Type 'any[] | undefined' is not assignable to type 'any[]'.

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

+5-8
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ lib/adapters/http.js(84,22): error TS2345: Argument of type 'string | undefined'
55
Type 'undefined' is not assignable to type 'string'.
66
lib/adapters/http.js(124,17): error TS2532: Object is possibly 'undefined'.
77
lib/adapters/http.js(124,40): error TS2532: Object is possibly 'undefined'.
8-
lib/adapters/http.js(125,17): error TS2531: Object is possibly 'null'.
9-
lib/adapters/http.js(125,54): error TS2531: Object is possibly 'null'.
10-
lib/adapters/http.js(125,54): error TS2532: Object is possibly 'undefined'.
11-
lib/adapters/http.js(224,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
12-
lib/adapters/http.js(230,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
13-
lib/adapters/http.js(236,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
14-
lib/adapters/http.js(248,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
15-
lib/adapters/http.js(277,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
8+
lib/adapters/http.js(223,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
9+
lib/adapters/http.js(229,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
10+
lib/adapters/http.js(235,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
11+
lib/adapters/http.js(247,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
12+
lib/adapters/http.js(276,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
1613
lib/adapters/xhr.js(64,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1714
lib/adapters/xhr.js(76,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1815
lib/adapters/xhr.js(83,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

tests/baselines/reference/user/bluebird.log

+167-162
Large diffs are not rendered by default.

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

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Exit Code: 1
22
Standard output:
3-
../../../../built/local/lib.es5.d.ts(1421,11): error TS2300: Duplicate identifier 'ArrayLike'.
3+
../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'.
44
../../../../node_modules/@types/node/globals.d.ts(234,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'.
55
node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'.
66
node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
@@ -3006,6 +3006,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth
30063006
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(68409,16): error TS2339: Property 'height' does not exist on type 'constructor'.
30073007
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(68410,25): error TS2339: Property 'width' does not exist on type 'constructor'.
30083008
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(68410,39): error TS2339: Property 'height' does not exist on type 'constructor'.
3009+
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69550,21): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
30093010
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69799,1): error TS2323: Cannot redeclare exported variable 'parse'.
30103011
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70747,4): error TS2531: Object is possibly 'null'.
30113012
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70747,26): error TS2531: Object is possibly 'null'.
@@ -3664,8 +3665,7 @@ node_modules/chrome-devtools-frontend/front_end/common/Settings.js(542,18): erro
36643665
node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(97,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
36653666
node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(102,5): error TS2322: Type 'Timeout' is not assignable to type 'number'.
36663667
node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(113,15): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
3667-
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(32,1): error TS2322: Type 'typeof Common | {}' is not assignable to type 'typeof Common'.
3668-
Type '{}' is missing the following properties from type 'typeof Common': Object, EventTarget, Event, ParsedURL, and 39 more.
3668+
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(32,1): error TS2740: Type '{}' is missing the following properties from type 'typeof Common': Object, EventTarget, Event, ParsedURL, and 39 more.
36693669
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(40,17): error TS2339: Property 'vsprintf' does not exist on type 'StringConstructor'.
36703670
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(62,36): error TS2339: Property 'tokenizeFormatString' does not exist on type 'StringConstructor'.
36713671
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(62,87): error TS2339: Property 'standardFormatters' does not exist on type 'StringConstructor'.
@@ -3866,10 +3866,9 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(133,9)
38663866
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(147,27): error TS2740: Type 'Element' is missing the following properties from type 'Icon': createdCallback, _descriptor, _spriteSheet, _iconType, and 117 more.
38673867
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(177,67): error TS2555: Expected at least 2 arguments, but got 1.
38683868
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(179,61): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
3869-
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(209,41): error TS2339: Property 'asParsedURL' does not exist on type 'string'.
38703869
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(213,28): error TS2555: Expected at least 2 arguments, but got 1.
3871-
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(214,31): error TS2345: Argument of type '{ key: any; text: string; negative: false; }' is not assignable to parameter of type '{ key: string; text: string; regex: RegExp; negative: boolean; }'.
3872-
Property 'regex' is missing in type '{ key: any; text: string; negative: false; }' but required in type '{ key: string; text: string; regex: RegExp; negative: boolean; }'.
3870+
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(214,31): error TS2345: Argument of type '{ key: any; text: any; negative: false; }' is not assignable to parameter of type '{ key: string; text: string; regex: RegExp; negative: boolean; }'.
3871+
Property 'regex' is missing in type '{ key: any; text: any; negative: false; }' but required in type '{ key: string; text: string; regex: RegExp; negative: boolean; }'.
38733872
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(214,45): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
38743873
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(216,25): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
38753874
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(226,9): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -6631,8 +6630,8 @@ node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.j
66316630
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(85,39): error TS2551: Property '_logItemCategoriesMap' does not exist on type 'typeof PaintProfilerView'. Did you mean '_initLogItemCategories'?
66326631
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(86,44): error TS2551: Property '_logItemCategoriesMap' does not exist on type 'typeof PaintProfilerView'. Did you mean '_initLogItemCategories'?
66336632
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(128,35): error TS2551: Property '_logItemCategoriesMap' does not exist on type 'typeof PaintProfilerView'. Did you mean '_initLogItemCategories'?
6634-
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(129,5): error TS2322: Type '{}' is not assignable to type '{ [x: string]: PaintProfilerCategory; }'.
6635-
Index signature is missing in type '{}'.
6633+
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(129,5): error TS2322: Type '{ 'Clear': PaintProfilerCategory; 'DrawPaint': PaintProfilerCategory; 'DrawData': PaintProfilerCategory; 'SetMatrix': PaintProfilerCategory; ... 31 more ...; 'DrawTextOnPath': PaintProfilerCategory; }' is not assignable to type '{ [x: string]: PaintProfilerCategory; }'.
6634+
Index signature is missing in type '{ 'Clear': PaintProfilerCategory; 'DrawPaint': PaintProfilerCategory; 'DrawData': PaintProfilerCategory; 'SetMatrix': PaintProfilerCategory; ... 31 more ...; 'DrawTextOnPath': PaintProfilerCategory; }'.
66366635
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(158,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'.
66376636
node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(244,26): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: number; }'.
66386637
Index signature is missing in type '{}'.
@@ -8756,8 +8755,8 @@ node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(4
87568755
node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(42,60): error TS2555: Expected at least 2 arguments, but got 1.
87578756
node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(77,18): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
87588757
node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(114,37): error TS2339: Property 'valuesArray' does not exist on type 'Set<any>'.
8759-
node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(124,40): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: boolean; }'.
8760-
Index signature is missing in type '{}'.
8758+
node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(124,40): error TS2345: Argument of type '{ '0': boolean; }' is not assignable to parameter of type '{ [x: string]: boolean; }'.
8759+
Index signature is missing in type '{ '0': boolean; }'.
87618760
node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(130,18): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
87628761
node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(41,12): error TS2339: Property 'registerStorageDispatcher' does not exist on type 'Target'.
87638762
node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(43,35): error TS2339: Property 'indexedDBAgent' does not exist on type 'Target'.
@@ -9458,8 +9457,8 @@ node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1060,13):
94589457
Type '{}' has no call signatures.
94599458
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1084,19): error TS2339: Property 'networkAgent' does not exist on type 'Target'.
94609459
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1089,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
9461-
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1101,35): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: string; }'.
9462-
Index signature is missing in type '{}'.
9460+
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1101,35): error TS2345: Argument of type '{ 'User-Agent': string; 'Cache-Control': string; }' is not assignable to parameter of type '{ [x: string]: string; }'.
9461+
Index signature is missing in type '{ 'User-Agent': string; 'Cache-Control': string; }'.
94639462
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1115,24): error TS2694: Namespace 'Protocol' has no exported member 'NetworkAgent'.
94649463
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1116,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'.
94659464
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1117,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'.

tests/baselines/reference/user/lodash.log

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ node_modules/lodash/core.js(3424,41): error TS2769: No overload matches this cal
246246
node_modules/lodash/core.js(3573,51): error TS2532: Object is possibly 'undefined'.
247247
node_modules/lodash/core.js(3590,63): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
248248
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
249+
node_modules/lodash/core.js(3814,33): error TS2339: Property '__chain__' does not exist on type 'lodash'.
249250
node_modules/lodash/core.js(3830,14): error TS2304: Cannot find name 'define'.
250251
node_modules/lodash/core.js(3830,45): error TS2304: Cannot find name 'define'.
251252
node_modules/lodash/core.js(3830,71): error TS2304: Cannot find name 'define'.

0 commit comments

Comments
 (0)