Skip to content

Commit c91e147

Browse files
TypeScript Botweswigham
TypeScript Bot
authored andcommitted
Update user baselines (#32195)
1 parent ff81d52 commit c91e147

File tree

6 files changed

+42
-20
lines changed

6 files changed

+42
-20
lines changed

tests/baselines/reference/user/assert.log

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ node_modules/assert/test.js(141,10): error TS2339: Property 'b' does not exist o
1414
node_modules/assert/test.js(142,10): error TS2339: Property 'b' does not exist on type 'number[]'.
1515
node_modules/assert/test.js(143,10): error TS2339: Property 'a' does not exist on type 'number[]'.
1616
node_modules/assert/test.js(149,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
17-
node_modules/assert/test.js(157,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'never' has no compatible call signatures.
17+
node_modules/assert/test.js(157,51): error TS2349: This expression is not callable.
18+
Type 'never' has no call signatures.
1819
node_modules/assert/test.js(161,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
1920
node_modules/assert/test.js(168,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
2021
node_modules/assert/test.js(182,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.

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

+8-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322:
2828
node_modules/chrome-devtools-frontend/front_end/Runtime.js(283,12): error TS2554: Expected 2-3 arguments, but got 1.
2929
node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,49): error TS2352: Conversion of type 'Window' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
3030
Type 'Window' provides no match for the signature 'new (): any'.
31-
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,20): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
31+
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable.
32+
Type 'Function' has no construct signatures.
3233
node_modules/chrome-devtools-frontend/front_end/Runtime.js(693,7): error TS2322: Type 'Promise<boolean>' is not assignable to type 'Promise<undefined>'.
3334
Type 'boolean' is not assignable to type 'undefined'.
3435
node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322: Type 'Promise<boolean>' is not assignable to type 'Promise<undefined>'.
@@ -6104,7 +6105,8 @@ node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUt
61046105
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,16): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window'.
61056106
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,68): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window'.
61066107
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(296,41): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window'.
6107-
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(306,37): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: { handler: any; useCapture: boolean; passive: boolean; once: boolean; type: string; }, index: number, array: { ...; }[]) => U, thisArg?: any) => U[])' has no compatible call signatures.
6108+
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(306,66): error TS2349: This expression is not callable.
6109+
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: { handler: any; useCapture: boolean; passive: boolean; once: boolean; type: string; }, index: number, array: { ...; }[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
61086110
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(324,5): error TS2741: Property 'internalHandlers' is missing in type '{ eventListeners: any[]; }' but required in type '{ eventListeners: any[]; internalHandlers: (() => any)[]; }'.
61096111
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(345,33): error TS2694: Namespace 'EventListeners' has no exported member 'EventListenerObjectInInspectedPage'.
61106112
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(420,32): error TS2352: Conversion of type '{ fn: any; data: any; _data: any; }' to type '(arg0: Node) => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
@@ -8941,7 +8943,8 @@ node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(131,
89418943
Property '_populated' does not exist on type 'ProfileDataGridNode'.
89428944
node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(133,15): error TS2339: Property '_populated' does not exist on type 'ProfileDataGridNode | ProfileDataGridTree'.
89438945
Property '_populated' does not exist on type 'ProfileDataGridNode'.
8944-
node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(140,7): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '(<T>(comparator: (arg0: T, arg1: T) => any, force: boolean) => any) | (<T>(comparator: (arg0: T, arg1: T) => any, force: boolean) => void)' has no compatible call signatures.
8946+
node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(140,17): error TS2349: This expression is not callable.
8947+
Each member of the union type '(<T>(comparator: (arg0: T, arg1: T) => any, force: boolean) => any) | (<T>(comparator: (arg0: T, arg1: T) => any, force: boolean) => void)' has signatures, but none of those signatures are compatible with each other.
89458948
node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(153,49): error TS2339: Property '_searchMatchedSelfColumn' does not exist on type 'ProfileDataGridNode'.
89468949
node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(158,49): error TS2339: Property '_searchMatchedTotalColumn' does not exist on type 'ProfileDataGridNode'.
89478950
node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(163,49): error TS2339: Property '_searchMatchedFunctionColumn' does not exist on type 'ProfileDataGridNode'.
@@ -10085,7 +10088,8 @@ node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(955,42): e
1008510088
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(976,41): error TS2694: Namespace 'SDK.NetworkManager' has no exported member 'BlockedPattern'.
1008610089
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1019,52): error TS2694: Namespace 'SDK.MultitargetNetworkManager' has no exported member 'InterceptionPattern'.
1008710090
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1020,45): error TS2694: Namespace 'SDK.MultitargetNetworkManager' has no exported member 'RequestInterceptor'.
10088-
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1060,13): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '{}' has no compatible call signatures.
10091+
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1060,13): error TS2349: This expression is not callable.
10092+
Type '{}' has no call signatures.
1008910093
node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1084,19): error TS2339: Property 'networkAgent' does not exist on type 'Target'.
1009010094
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.
1009110095
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; }'.

tests/baselines/reference/user/lodash.log

+24-12
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ node_modules/lodash/_baseDifference.js(43,5): error TS2740: Type 'SetCache' is m
3737
node_modules/lodash/_baseDifference.js(60,42): error TS2554: Expected 2 arguments, but got 3.
3838
node_modules/lodash/_baseFlatten.js(19,29): error TS2322: Type '(value: any) => boolean' is not assignable to type 'boolean | undefined'.
3939
Type '(value: any) => boolean' is not assignable to type 'true'.
40-
node_modules/lodash/_baseFlatten.js(24,22): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Boolean' has no compatible call signatures.
40+
node_modules/lodash/_baseFlatten.js(24,22): error TS2349: This expression is not callable.
41+
Type 'Boolean' has no call signatures.
4142
node_modules/lodash/_baseFlatten.js(24,22): error TS2532: Object is possibly 'undefined'.
4243
node_modules/lodash/_baseFlatten.js(24,22): error TS2722: Cannot invoke an object which is possibly 'undefined'.
4344
node_modules/lodash/_baseHas.js(16,56): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'string | number | symbol'.
@@ -76,7 +77,8 @@ node_modules/lodash/_baseUniq.js(33,43): error TS2554: Expected 0 arguments, but
7677
node_modules/lodash/_baseUniq.js(39,5): error TS2322: Type 'SetCache' is not assignable to type 'any[]'.
7778
node_modules/lodash/_baseUniq.js(62,40): error TS2554: Expected 2 arguments, but got 3.
7879
node_modules/lodash/_baseWrapperValue.js(18,21): error TS2339: Property 'value' does not exist on type 'LazyWrapper'.
79-
node_modules/lodash/_cloneArrayBuffer.js(11,16): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
80+
node_modules/lodash/_cloneArrayBuffer.js(11,20): error TS2351: This expression is not constructable.
81+
Type 'Function' has no construct signatures.
8082
node_modules/lodash/_cloneBuffer.js(4,69): error TS2339: Property 'nodeType' does not exist on type '(buffer: any, isDeep?: boolean | undefined) => any'.
8183
node_modules/lodash/_cloneBuffer.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ "../../../tests/cases/user/lodash/node_modules/lodash/_cloneBuffer": (buffer: any, isDeep?: boolean | undefined) => any; }'.
8284
node_modules/lodash/_cloneBuffer.js(22,14): error TS2577: Return type annotation circularly references itself.
@@ -85,14 +87,22 @@ node_modules/lodash/_copySymbols.js(13,40): error TS2554: Expected 0 arguments,
8587
node_modules/lodash/_copySymbolsIn.js(13,42): error TS2554: Expected 0 arguments, but got 1.
8688
node_modules/lodash/_createAggregator.js(19,60): error TS2554: Expected 0-1 arguments, but got 2.
8789
node_modules/lodash/_createCompounder.js(20,24): error TS2554: Expected 3 arguments, but got 1.
88-
node_modules/lodash/_createCtor.js(19,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
89-
node_modules/lodash/_createCtor.js(20,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
90-
node_modules/lodash/_createCtor.js(21,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
91-
node_modules/lodash/_createCtor.js(22,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
92-
node_modules/lodash/_createCtor.js(23,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
93-
node_modules/lodash/_createCtor.js(24,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
94-
node_modules/lodash/_createCtor.js(25,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
95-
node_modules/lodash/_createCtor.js(26,22): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
90+
node_modules/lodash/_createCtor.js(19,26): error TS2351: This expression is not constructable.
91+
Type 'Function' has no construct signatures.
92+
node_modules/lodash/_createCtor.js(20,26): error TS2351: This expression is not constructable.
93+
Type 'Function' has no construct signatures.
94+
node_modules/lodash/_createCtor.js(21,26): error TS2351: This expression is not constructable.
95+
Type 'Function' has no construct signatures.
96+
node_modules/lodash/_createCtor.js(22,26): error TS2351: This expression is not constructable.
97+
Type 'Function' has no construct signatures.
98+
node_modules/lodash/_createCtor.js(23,26): error TS2351: This expression is not constructable.
99+
Type 'Function' has no construct signatures.
100+
node_modules/lodash/_createCtor.js(24,26): error TS2351: This expression is not constructable.
101+
Type 'Function' has no construct signatures.
102+
node_modules/lodash/_createCtor.js(25,26): error TS2351: This expression is not constructable.
103+
Type 'Function' has no construct signatures.
104+
node_modules/lodash/_createCtor.js(26,26): error TS2351: This expression is not constructable.
105+
Type 'Function' has no construct signatures.
96106
node_modules/lodash/_createCurry.js(37,46): error TS2339: Property 'placeholder' does not exist on type '(...args: any[]) => any'.
97107
node_modules/lodash/_createFind.js(16,46): error TS2554: Expected 0-1 arguments, but got 2.
98108
node_modules/lodash/_createFind.js(21,34): error TS2454: Variable 'iteratee' is used before being assigned.
@@ -143,7 +153,8 @@ node_modules/lodash/_getRawTag.js(36,7): error TS2454: Variable 'unmasked' is us
143153
node_modules/lodash/_getSymbolsIn.js(19,34): error TS2554: Expected 0 arguments, but got 1.
144154
node_modules/lodash/_hasPath.js(35,50): error TS2454: Variable 'key' is used before being assigned.
145155
node_modules/lodash/_hashDelete.js(7,20): error TS8024: JSDoc '@param' tag has name 'hash', but there is no parameter with that name.
146-
node_modules/lodash/_initCloneArray.js(16,16): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
156+
node_modules/lodash/_initCloneArray.js(16,20): error TS2351: This expression is not constructable.
157+
Type 'Function' has no construct signatures.
147158
node_modules/lodash/_initCloneArray.js(20,26): error TS2339: Property 'index' does not exist on type 'any[]'.
148159
node_modules/lodash/_initCloneArray.js(21,26): error TS2339: Property 'input' does not exist on type 'any[]'.
149160
node_modules/lodash/_insertWrapDetails.js(10,5): error TS1223: 'returns' tag already specified.
@@ -190,7 +201,8 @@ node_modules/lodash/core.js(68,58): error TS2339: Property 'Object' does not exi
190201
node_modules/lodash/core.js(77,82): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'.
191202
node_modules/lodash/core.js(540,31): error TS2322: Type '(value: any) => boolean' is not assignable to type 'boolean | undefined'.
192203
Type '(value: any) => boolean' is not assignable to type 'true'.
193-
node_modules/lodash/core.js(545,24): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Boolean' has no compatible call signatures.
204+
node_modules/lodash/core.js(545,24): error TS2349: This expression is not callable.
205+
Type 'Boolean' has no call signatures.
194206
node_modules/lodash/core.js(545,24): error TS2532: Object is possibly 'undefined'.
195207
node_modules/lodash/core.js(545,24): error TS2722: Cannot invoke an object which is possibly 'undefined'.
196208
node_modules/lodash/core.js(664,42): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'number'.

tests/baselines/reference/user/prettier.log

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ src/language-html/ast.js(90,17): error TS2339: Property 'namespace' does not exi
8181
src/language-html/ast.js(90,34): error TS2339: Property 'namespace' does not exist on type 'Node'.
8282
src/language-html/ast.js(90,57): error TS2339: Property 'name' does not exist on type 'Node'.
8383
src/language-html/ast.js(90,69): error TS2339: Property 'name' does not exist on type 'Node'.
84-
src/language-html/conditional-comment.js(23,16): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'RegExp | ((node: any) => { type: string; sourceSpan: any; })' has no compatible call signatures.
84+
src/language-html/conditional-comment.js(23,16): error TS2349: This expression is not callable.
85+
Not all constituents of type 'RegExp | ((node: any) => { type: string; sourceSpan: any; })' are callable.
86+
Type 'RegExp' has no call signatures.
8587
src/language-html/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/html'.
8688
src/language-html/index.js(8,59): error TS2345: Argument of type '{ override: { name: string; since: string; parsers: string[]; vscodeLanguageIds: string[]; extensions: string[]; filenames: never[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; }'.
8789
Property 'extend' is missing in type '{ override: { name: string; since: string; parsers: string[]; vscodeLanguageIds: string[]; extensions: string[]; filenames: never[]; }; }' but required in type '{ extend: any; override: any; }'.

tests/baselines/reference/user/puppeteer.log

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ lib/Page.js(189,15): error TS2503: Cannot find namespace 'Protocol'.
5858
lib/Page.js(284,15): error TS2503: Cannot find namespace 'Protocol'.
5959
lib/Page.js(369,20): error TS2503: Cannot find namespace 'Protocol'.
6060
lib/Page.js(432,7): error TS2740: Type '(...args: any[]) => Promise<any>' is missing the following properties from type 'Window': Blob, TextDecoder, TextEncoder, URL, and 232 more.
61-
lib/Page.js(442,9): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Window' has no compatible call signatures.
61+
lib/Page.js(442,9): error TS2349: This expression is not callable.
62+
Type 'Window' has no call signatures.
6263
lib/Page.js(478,15): error TS2503: Cannot find namespace 'Protocol'.
6364
lib/Page.js(488,22): error TS2503: Cannot find namespace 'Protocol'.
6465
lib/Page.js(501,15): error TS2503: Cannot find namespace 'Protocol'.

tests/baselines/reference/user/uglify-js.log

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ node_modules/uglify-js/lib/compress.js(184,42): error TS2554: Expected 0 argumen
1111
node_modules/uglify-js/lib/compress.js(535,41): error TS2554: Expected 0 arguments, but got 1.
1212
node_modules/uglify-js/lib/compress.js(861,33): error TS2554: Expected 0 arguments, but got 1.
1313
node_modules/uglify-js/lib/compress.js(1121,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
14-
node_modules/uglify-js/lib/compress.js(1135,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'true | ((node: any) => any)' has no compatible call signatures.
14+
node_modules/uglify-js/lib/compress.js(1135,51): error TS2349: This expression is not callable.
15+
Not all constituents of type 'true | ((node: any) => any)' are callable.
16+
Type 'true' has no call signatures.
1517
node_modules/uglify-js/lib/compress.js(1199,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
1618
node_modules/uglify-js/lib/compress.js(1240,112): error TS2454: Variable 'args' is used before being assigned.
1719
node_modules/uglify-js/lib/compress.js(1241,29): error TS2532: Object is possibly 'undefined'.

0 commit comments

Comments
 (0)