Skip to content

Commit eb763f0

Browse files
TypeScript Botsandersn
TypeScript Bot
authored andcommitted
Update user baselines (#26156)
1 parent 92205cf commit eb763f0

File tree

9 files changed

+146
-96
lines changed

9 files changed

+146
-96
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Exit Code: 1
2+
Standard output:
3+
node_modules/@types/react-native/index.d.ts(3895,26): error TS2693: 'setImmediate' only refers to a type, but is being used as a value here.
4+
node_modules/@types/react-native/index.d.ts(3896,28): error TS2693: 'clearImmediate' only refers to a type, but is being used as a value here.
5+
6+
7+
8+
Standard error:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ lib/axios.js(41,7): error TS2339: Property 'CancelToken' does not exist on type
2626
lib/axios.js(42,7): error TS2339: Property 'isCancel' does not exist on type 'Axios'.
2727
lib/axios.js(45,7): error TS2339: Property 'all' does not exist on type 'Axios'.
2828
lib/axios.js(48,7): error TS2339: Property 'spread' does not exist on type 'Axios'.
29+
lib/cancel/CancelToken.js(23,15): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
30+
lib/cancel/CancelToken.js(28,11): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
31+
lib/cancel/CancelToken.js(29,26): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
2932
lib/cancel/CancelToken.js(37,12): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
3033
lib/cancel/CancelToken.js(38,16): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
3134
lib/core/enhanceError.js(14,9): error TS2339: Property 'config' does not exist on type 'Error'.

tests/baselines/reference/user/bcryptjs.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Standard output:
33
node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript'.
44
node_modules/bcryptjs/scripts/build.js(32,1): error TS2322: Type '{ VERSION: any; }' is not assignable to type '{ [x: string]: any; VERSION: any; ISAAC: boolean; }'.
55
Property 'ISAAC' is missing in type '{ VERSION: any; }'.
6-
node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'number[] | Int32Array' is not assignable to parameter of type 'number[]'.
6+
node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'Int32List' is not assignable to parameter of type 'number[]'.
77
Type 'Int32Array' is not assignable to type 'number[]'.
88
Property 'pop' is missing in type 'Int32Array'.
99
node_modules/bcryptjs/src/bcrypt/impl.js(546,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.

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

Lines changed: 111 additions & 77 deletions
Large diffs are not rendered by default.

tests/baselines/reference/user/clone.log

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Exit Code: 1
22
Standard output:
3-
node_modules/clone/clone.js(161,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
4-
node_modules/clone/clone.js(161,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
5-
node_modules/clone/clone.js(161,43): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
6-
node_modules/clone/clone.js(170,14): error TS2532: Object is possibly 'undefined'.
7-
node_modules/clone/clone.js(180,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
8-
node_modules/clone/clone.js(180,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
9-
node_modules/clone/clone.js(180,52): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
3+
node_modules/clone/clone.js(167,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
4+
node_modules/clone/clone.js(167,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
5+
node_modules/clone/clone.js(167,43): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
6+
node_modules/clone/clone.js(176,14): error TS2532: Object is possibly 'undefined'.
7+
node_modules/clone/clone.js(186,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
8+
node_modules/clone/clone.js(186,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
9+
node_modules/clone/clone.js(186,52): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
1010

1111

1212

tests/baselines/reference/user/follow-redirects.log

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Exit Code: 1
22
Standard output:
3-
node_modules/follow-redirects/index.js(70,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
4-
node_modules/follow-redirects/index.js(71,10): error TS2339: Property 'abort' does not exist on type 'RedirectableRequest'.
5-
node_modules/follow-redirects/index.js(184,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
6-
node_modules/follow-redirects/index.js(218,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
3+
node_modules/follow-redirects/index.js(78,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
4+
node_modules/follow-redirects/index.js(79,10): error TS2339: Property 'abort' does not exist on type 'RedirectableRequest'.
5+
node_modules/follow-redirects/index.js(192,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
6+
node_modules/follow-redirects/index.js(226,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
77
Type 'undefined' is not assignable to type 'string'.
8-
node_modules/follow-redirects/index.js(231,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
8+
node_modules/follow-redirects/index.js(239,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
99

1010

1111

tests/baselines/reference/user/lodash.log

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ node_modules/lodash/_createFlow.js(56,13): error TS2454: Variable 'wrapper' is u
100100
node_modules/lodash/_createFlow.js(57,13): error TS2454: Variable 'wrapper' is used before being assigned.
101101
node_modules/lodash/_createFlow.js(57,21): error TS2339: Property 'thru' does not exist on type 'LodashWrapper'.
102102
node_modules/lodash/_createFlow.js(65,24): error TS2339: Property 'plant' does not exist on type 'LodashWrapper'.
103-
node_modules/lodash/_createHybrid.js(44,49): error TS2345: Argument of type 'string | Function' is not assignable to parameter of type 'Function'.
103+
node_modules/lodash/_createHybrid.js(44,49): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
104104
Type 'string' is not assignable to type 'Function'.
105105
node_modules/lodash/_createHybrid.js(59,42): error TS2345: Argument of type 'any[] | undefined' is not assignable to parameter of type 'any[]'.
106106
Type 'undefined' is not assignable to type 'any[]'.
107107
node_modules/lodash/_createHybrid.js(62,52): error TS2345: Argument of type 'any[] | undefined' is not assignable to parameter of type 'any[]'.
108108
Type 'undefined' is not assignable to type 'any[]'.
109109
node_modules/lodash/_createHybrid.js(64,15): error TS2454: Variable 'holdersCount' is used before being assigned.
110110
node_modules/lodash/_createHybrid.js(65,31): error TS2532: Object is possibly 'undefined'.
111-
node_modules/lodash/_createHybrid.js(68,9): error TS2345: Argument of type 'string | Function' is not assignable to parameter of type 'Function'.
111+
node_modules/lodash/_createHybrid.js(68,9): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
112112
Type 'string' is not assignable to type 'Function'.
113113
node_modules/lodash/_createHybrid.js(68,46): error TS2339: Property 'placeholder' does not exist on type '(...args: any[]) => any'.
114114
node_modules/lodash/_createHybrid.js(69,40): error TS2532: Object is possibly 'undefined'.
@@ -117,14 +117,14 @@ node_modules/lodash/_createHybrid.js(81,18): error TS2532: Object is possibly 'u
117117
node_modules/lodash/_createHybrid.js(82,7): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
118118
Type 'undefined' is not assignable to type 'number'.
119119
node_modules/lodash/_createWrap.js(71,38): error TS2554: Expected 0 arguments, but got 1.
120-
node_modules/lodash/_createWrap.js(94,29): error TS2345: Argument of type 'string | Function' is not assignable to parameter of type 'Function'.
120+
node_modules/lodash/_createWrap.js(94,29): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
121121
Type 'string' is not assignable to type 'Function'.
122-
node_modules/lodash/_createWrap.js(96,26): error TS2345: Argument of type 'string | Function' is not assignable to parameter of type 'Function'.
122+
node_modules/lodash/_createWrap.js(96,26): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
123123
Type 'string' is not assignable to type 'Function'.
124124
node_modules/lodash/_createWrap.js(97,100): error TS2532: Object is possibly 'undefined'.
125-
node_modules/lodash/_createWrap.js(98,28): error TS2345: Argument of type 'string | Function' is not assignable to parameter of type 'Function'.
125+
node_modules/lodash/_createWrap.js(98,28): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
126126
Type 'string' is not assignable to type 'Function'.
127-
node_modules/lodash/_createWrap.js(103,51): error TS2345: Argument of type 'string | Function' is not assignable to parameter of type 'Function'.
127+
node_modules/lodash/_createWrap.js(103,51): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
128128
Type 'string' is not assignable to type 'Function'.
129129
node_modules/lodash/_customDefaultsMerge.js(22,35): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.
130130
node_modules/lodash/_customOmitClone.js(9,20): error TS8024: JSDoc '@param' tag has name 'key', but there is no parameter with that name.
@@ -165,6 +165,7 @@ node_modules/lodash/bind.js(55,6): error TS2339: Property 'placeholder' does not
165165
node_modules/lodash/bindKey.js(62,53): error TS2454: Variable 'holders' is used before being assigned.
166166
node_modules/lodash/bindKey.js(66,9): error TS2339: Property 'placeholder' does not exist on type 'Function'.
167167
node_modules/lodash/castArray.js(10,15): error TS8029: JSDoc '@param' tag has name 'value', but there is no parameter with that name. It would match 'arguments' if it had an array type.
168+
node_modules/lodash/chain.js(33,16): error TS2348: Value of type 'typeof lodash' is not callable. Did you mean to include 'new'?
168169
node_modules/lodash/chunk.js(20,10): error TS1003: Identifier expected.
169170
node_modules/lodash/chunk.js(20,10): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
170171
node_modules/lodash/clamp.js(25,5): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
@@ -214,6 +215,7 @@ node_modules/lodash/core.js(1446,24): error TS2532: Object is possibly 'undefine
214215
node_modules/lodash/core.js(1449,17): error TS2538: Type 'undefined' cannot be used as an index type.
215216
node_modules/lodash/core.js(1566,33): error TS2554: Expected 1 arguments, but got 2.
216217
node_modules/lodash/core.js(1709,41): error TS2532: Object is possibly 'undefined'.
218+
node_modules/lodash/core.js(1745,18): error TS2348: Value of type 'typeof lodash' is not callable. Did you mean to include 'new'?
217219
node_modules/lodash/core.js(1872,12): error TS1003: Identifier expected.
218220
node_modules/lodash/core.js(1872,12): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
219221
node_modules/lodash/core.js(2142,12): error TS1003: Identifier expected.

tests/baselines/reference/user/npm.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ node_modules/npm/bin/npm-cli.js(132,17): error TS2339: Property 'config' does no
3030
node_modules/npm/bin/npm-cli.js(134,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
3131
node_modules/npm/bin/npm-cli.js(136,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
3232
node_modules/npm/html/static/toc.js(3,40): error TS2531: Object is possibly 'null'.
33+
node_modules/npm/html/static/toc.js(28,3): error TS2531: Object is possibly 'null'.
3334
node_modules/npm/lib/access.js(58,46): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
3435
node_modules/npm/lib/access.js(65,18): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'.
3536
node_modules/npm/lib/access.js(115,19): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'.

tests/baselines/reference/user/puppeteer.log

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ lib/FrameManager.js(28,15): error TS2503: Cannot find namespace 'Protocol'.
2424
lib/FrameManager.js(54,15): error TS2503: Cannot find namespace 'Protocol'.
2525
lib/FrameManager.js(76,15): error TS2503: Cannot find namespace 'Protocol'.
2626
lib/FrameManager.js(127,15): error TS2503: Cannot find namespace 'Protocol'.
27+
lib/FrameManager.js(685,57): error TS2345: Argument of type 'string | number | Function' is not assignable to parameter of type 'number'.
28+
Type 'string' is not assignable to type 'number'.
2729
lib/FrameManager.js(773,15): error TS2503: Cannot find namespace 'Protocol'.
2830
lib/NetworkManager.js(129,15): error TS2503: Cannot find namespace 'Protocol'.
2931
lib/NetworkManager.js(174,15): error TS2503: Cannot find namespace 'Protocol'.

0 commit comments

Comments
 (0)