Skip to content

Commit 89fbaf2

Browse files
TypeScript Botweswigham
authored andcommitted
Update user baselines (microsoft#28504)
1 parent 7a71887 commit 89fbaf2

15 files changed

+721
-645
lines changed

tests/baselines/reference/user/adonis-framework.log

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,17 @@ node_modules/adonis-framework/src/Env/index.js(54,15): error TS2304: Cannot find
3535
node_modules/adonis-framework/src/Env/index.js(56,15): error TS2304: Cannot find name 'Mixed'.
3636
node_modules/adonis-framework/src/Env/index.js(80,15): error TS2304: Cannot find name 'Mixed'.
3737
node_modules/adonis-framework/src/Event/index.js(13,21): error TS2307: Cannot find module 'adonis-fold'.
38-
node_modules/adonis-framework/src/Event/index.js(128,12): error TS2322: Type '() => {}[]' is not assignable to type 'any[]'.
39-
Property 'pop' is missing in type '() => {}[]'.
38+
node_modules/adonis-framework/src/Event/index.js(128,12): error TS2740: Type '() => {}[]' is missing the following properties from type 'any[]': pop, push, concat, join, and 27 more.
4039
node_modules/adonis-framework/src/Event/index.js(153,25): error TS2339: Property 'wildcard' does not exist on type 'EventEmitter2'.
4140
node_modules/adonis-framework/src/Event/index.js(188,17): error TS2304: Cannot find name 'Spread'.
4241
node_modules/adonis-framework/src/Event/index.js(201,27): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
43-
Property 'pop' is missing in type 'IArguments'.
42+
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
4443
node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot find name 'Sring'.
4544
node_modules/adonis-framework/src/Event/index.js(256,52): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
4645
Type 'Function' provides no match for the signature '(...values: any[]): void'.
4746
node_modules/adonis-framework/src/Event/index.js(264,28): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
4847
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[string, any, TimerHandler]'.
49-
Property '0' is missing in type 'IArguments'.
48+
Type 'IArguments' is missing the following properties from type '[string, any, TimerHandler]': 0, 1, 2, pop, and 29 more.
5049
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[string, any, TimerHandler]'.
5150
node_modules/adonis-framework/src/Event/index.js(294,30): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
5251
node_modules/adonis-framework/src/Exceptions/index.js(13,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
@@ -113,7 +112,7 @@ node_modules/adonis-framework/src/Response/index.js(172,15): error TS2304: Canno
113112
node_modules/adonis-framework/src/Response/index.js(299,15): error TS2304: Cannot find name 'Mixed'.
114113
node_modules/adonis-framework/src/Response/index.js(323,15): error TS2304: Cannot find name 'Mixed'.
115114
node_modules/adonis-framework/src/Route/ResourceCollection.js(43,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
116-
Property 'pop' is missing in type 'IArguments'.
115+
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
117116
node_modules/adonis-framework/src/Route/ResourceCollection.js(56,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
118117
node_modules/adonis-framework/src/Route/ResourceMember.js(43,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
119118
node_modules/adonis-framework/src/Route/ResourceMember.js(56,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
@@ -154,7 +153,7 @@ node_modules/adonis-framework/src/Route/resource.js(209,45): error TS2345: Argum
154153
node_modules/adonis-framework/src/Route/resource.js(233,15): error TS2304: Cannot find name 'Mixed'.
155154
node_modules/adonis-framework/src/Route/resource.js(261,15): error TS2304: Cannot find name 'Mixed'.
156155
node_modules/adonis-framework/src/Route/resource.js(290,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
157-
Property '0' is missing in type 'IArguments'.
156+
Type 'IArguments' is missing the following properties from type '[any, ...any[]]': 0, pop, push, concat, and 27 more.
158157
node_modules/adonis-framework/src/Route/resource.js(296,15): error TS2304: Cannot find name 'Mixed'.
159158
node_modules/adonis-framework/src/Route/resource.js(314,62): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
160159
node_modules/adonis-framework/src/Server/helpers.js(17,29): error TS8024: JSDoc '@param' tag has name 'appNamespace', but there is no parameter with that name.

tests/baselines/reference/user/async.log

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,10 @@ node_modules/async/dist/async.js(2116,20): error TS2345: Argument of type 'Funct
124124
Type 'Function' is not assignable to type 'number'.
125125
node_modules/async/dist/async.js(2274,21): error TS2554: Expected 0 arguments, but got 2.
126126
node_modules/async/dist/async.js(2425,20): error TS1005: '}' expected.
127-
node_modules/async/dist/async.js(2450,5): error TS2322: Type '{ _tasks: DLL; concurrency: any; payload: any; saturated: () => void; unsaturated: () => void; buffer: number; empty: () => void; drain: () => void; error: () => void; started: boolean; paused: boolean; push: (data: any, callback: any) => void; ... 9 more ...; resume: () => void; }' is not assignable to type 'NodeModule'.
128-
Property 'exports' is missing in type '{ _tasks: DLL; concurrency: any; payload: any; saturated: () => void; unsaturated: () => void; buffer: number; empty: () => void; drain: () => void; error: () => void; started: boolean; paused: boolean; push: (data: any, callback: any) => void; ... 9 more ...; resume: () => void; }'.
127+
node_modules/async/dist/async.js(2450,5): error TS2740: Type '{ _tasks: DLL; concurrency: any; payload: any; saturated: () => void; unsaturated: () => void; buffer: number; empty: () => void; drain: () => void; error: () => void; started: boolean; paused: boolean; push: (data: any, callback: any) => void; ... 9 more ...; resume: () => void; }' is missing the following properties from type 'NodeModule': exports, require, id, filename, and 4 more.
129128
node_modules/async/dist/async.js(2521,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
130129
node_modules/async/dist/async.js(2564,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
131-
Property 'pop' is missing in type 'IArguments'.
130+
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
132131
node_modules/async/dist/async.js(2663,16): error TS2722: Cannot invoke an object which is possibly 'undefined'.
133132
node_modules/async/dist/async.js(2682,31): error TS1005: ']' expected.
134133
node_modules/async/dist/async.js(2707,31): error TS1005: ']' expected.
@@ -170,8 +169,7 @@ node_modules/async/dist/async.js(4160,19): error TS2339: Property '_tasks' does
170169
node_modules/async/dist/async.js(4163,26): error TS2339: Property 'process' does not exist on type 'NodeModule'.
171170
node_modules/async/dist/async.js(4167,14): error TS2339: Property 'unshift' does not exist on type 'NodeModule'.
172171
node_modules/async/dist/async.js(4381,5): error TS2322: Type 'any[] | {}' is not assignable to type 'any[]'.
173-
Type '{}' is not assignable to type 'any[]'.
174-
Property 'length' is missing in type '{}'.
172+
Type '{}' is missing the following properties from type 'any[]': length, pop, push, concat, and 28 more.
175173
node_modules/async/dist/async.js(4617,17): error TS2532: Object is possibly 'undefined'.
176174
node_modules/async/dist/async.js(4617,17): error TS2684: The 'this' context of type 'Function | undefined' is not assignable to method's 'this' of type 'Function'.
177175
Type 'undefined' is not assignable to type 'Function'.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ lib/adapters/xhr.js(102,7): error TS2322: Type 'null' is not assignable to type
1717
lib/adapters/xhr.js(111,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1818
lib/adapters/xhr.js(181,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1919
lib/axios.js(23,3): error TS2554: Expected 3 arguments, but got 2.
20-
lib/axios.js(25,3): error TS2322: Type '(...args: any[]) => any' is not assignable to type 'Axios'.
21-
Property 'defaults' is missing in type '(...args: any[]) => any'.
20+
lib/axios.js(25,3): error TS2739: Type '(...args: any[]) => any' is missing the following properties from type 'Axios': defaults, interceptors, request
2221
lib/axios.js(32,7): error TS2339: Property 'Axios' does not exist on type 'Axios'.
2322
lib/axios.js(35,7): error TS2339: Property 'create' does not exist on type 'Axios'.
2423
lib/axios.js(40,7): error TS2339: Property 'Cancel' does not exist on type 'Axios'.

tests/baselines/reference/user/bcryptjs.log

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
Exit Code: 1
22
Standard output:
33
node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript'.
4-
node_modules/bcryptjs/scripts/build.js(32,1): error TS2322: Type '{ VERSION: any; }' is not assignable to type '{ VERSION: any; ISAAC: boolean; }'.
5-
Property 'ISAAC' is missing in type '{ VERSION: any; }'.
4+
node_modules/bcryptjs/scripts/build.js(32,1): error TS2741: Property 'ISAAC' is missing in type '{ VERSION: any; }' but required in type '{ VERSION: any; ISAAC: boolean; }'.
65
node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'Int32List' is not assignable to parameter of type 'number[]'.
7-
Type 'Int32Array' is not assignable to type 'number[]'.
8-
Property 'pop' is missing in type 'Int32Array'.
6+
Type 'Int32Array' is missing the following properties from type 'number[]': pop, push, concat, shift, and 5 more.
97
node_modules/bcryptjs/src/bcrypt/impl.js(546,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
108
node_modules/bcryptjs/src/bcrypt/impl.js(658,23): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
119
Type 'undefined' is not assignable to type 'number[]'.
@@ -19,9 +17,9 @@ node_modules/bcryptjs/src/bcrypt/prng/accum.js(53,22): error TS2339: Property 'a
1917
node_modules/bcryptjs/src/bcrypt/prng/accum.js(65,74): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
2018
node_modules/bcryptjs/src/bcrypt/prng/accum.js(66,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
2119
node_modules/bcryptjs/src/bcrypt/prng/accum.js(67,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
20+
node_modules/bcryptjs/src/bcrypt/util.js(4,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
2221
node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name 'utfx'.
23-
node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2322: Type 'Buffer' is not assignable to type 'number[]'.
24-
Property 'pop' is missing in type 'Buffer'.
22+
node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2740: Type 'Buffer' is missing the following properties from type 'number[]': pop, push, concat, shift, and 5 more.
2523
node_modules/bcryptjs/src/bcrypt.js(94,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
2624
node_modules/bcryptjs/src/bcrypt.js(150,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
2725
Type 'undefined' is not assignable to type 'string'.

tests/baselines/reference/user/bluebird.log

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ node_modules/bluebird/js/release/debuggability.js(30,24): error TS2367: This con
1616
node_modules/bluebird/js/release/debuggability.js(168,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
1717
node_modules/bluebird/js/release/debuggability.js(174,26): error TS2339: Property 'detail' does not exist on type 'Event'.
1818
node_modules/bluebird/js/release/debuggability.js(199,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '["multipleResolves", MultipleResolveListener]'.
19-
Property '0' is missing in type 'IArguments'.
19+
Type 'IArguments' is missing the following properties from type '["multipleResolves", MultipleResolveListener]': 0, 1, pop, push, and 28 more.
2020
node_modules/bluebird/js/release/debuggability.js(242,56): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
21-
Property 'pop' is missing in type 'IArguments'.
21+
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
2222
node_modules/bluebird/js/release/debuggability.js(491,19): error TS2350: Only a void function can be called with the 'new' keyword.
2323
node_modules/bluebird/js/release/debuggability.js(562,46): error TS2554: Expected 0 arguments, but got 1.
2424
node_modules/bluebird/js/release/debuggability.js(736,5): error TS2721: Cannot invoke an object which is possibly 'null'.

0 commit comments

Comments
 (0)