Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 77a46a2

Browse files
committedDec 19, 2020
Update user baselines +cc @sandersn
1 parent 487be36 commit 77a46a2

18 files changed

+641
-704
lines changed
 

‎tests/baselines/reference/docker/azure-sdk.log

Lines changed: 49 additions & 25 deletions
Large diffs are not rendered by default.

‎tests/baselines/reference/docker/office-ui-fabric.log

Lines changed: 213 additions & 186 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
Exit Code: 2
1+
Exit Code: 0
22
Standard output:
3-
pyright-internal: src/tests/harness/utils.ts(328,12): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
43

54

65

76
Standard error:
87
lerna notice cli vX.X.X
98
lerna info Executing command in 3 packages: "tsc --noEmit"
10-
lerna ERR! Received non-zero exit code 2 during execution
119
lerna success exec Executed command in 3 packages: "tsc --noEmit"
12-
npm ERR! code 2
13-
npm ERR! path /pyright
14-
npm ERR! command failed
15-
npm ERR! command sh -c lerna exec --stream --concurrency 1 --no-bail -- tsc --noEmit
16-
npm ERR! A complete log of this run can be found in:
17-
npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log

‎tests/baselines/reference/docker/vue-next.log

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

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

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,44 @@ Standard output:
33
node_modules/connect-mongo/src/types.d.ts(113,66): error TS2694: Namespace 'Express' has no exported member 'SessionData'.
44
node_modules/connect-mongo/src/types.d.ts(114,45): error TS2694: Namespace 'Express' has no exported member 'SessionData'.
55
node_modules/connect-mongo/src/types.d.ts(118,47): error TS2694: Namespace 'Express' has no exported member 'SessionData'.
6-
src/app.ts(72,21): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'.
7-
Property 'returnTo' does not exist on type 'Session'.
8-
src/app.ts(75,21): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'.
9-
Property 'returnTo' does not exist on type 'Session'.
10-
src/app.ts(116,30): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'.
11-
Property 'returnTo' does not exist on type 'Session'.
12-
src/controllers/user.ts(51,38): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'.
13-
Property 'returnTo' does not exist on type 'Session'.
6+
src/app.ts(72,21): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'.
7+
src/app.ts(75,21): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'.
8+
src/app.ts(116,30): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'.
9+
src/config/passport.ts(18,24): error TS7006: Parameter 'err' implicitly has an 'any' type.
10+
src/config/passport.ts(18,29): error TS7006: Parameter 'user' implicitly has an 'any' type.
11+
src/config/passport.ts(28,51): error TS7006: Parameter 'err' implicitly has an 'any' type.
12+
src/config/passport.ts(71,49): error TS7006: Parameter 'err' implicitly has an 'any' type.
13+
src/config/passport.ts(71,54): error TS7006: Parameter 'existingUser' implicitly has an 'any' type.
14+
src/config/passport.ts(77,45): error TS7006: Parameter 'err' implicitly has an 'any' type.
15+
src/config/passport.ts(92,49): error TS7006: Parameter 'err' implicitly has an 'any' type.
16+
src/config/passport.ts(92,54): error TS7006: Parameter 'existingUser' implicitly has an 'any' type.
17+
src/config/passport.ts(97,59): error TS7006: Parameter 'err' implicitly has an 'any' type.
18+
src/config/passport.ts(97,64): error TS7006: Parameter 'existingEmailUser' implicitly has an 'any' type.
19+
src/controllers/user.ts(51,38): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial<SessionData>'.
20+
src/controllers/user.ts(101,46): error TS7006: Parameter 'err' implicitly has an 'any' type.
21+
src/controllers/user.ts(101,51): error TS7006: Parameter 'existingUser' implicitly has an 'any' type.
22+
src/controllers/user.ts(146,29): error TS7006: Parameter 'err' implicitly has an 'any' type.
23+
src/controllers/user.ts(153,19): error TS2769: No overload matches this call.
24+
Overload 1 of 3, '(options?: SaveOptions): Promise<UserDocument>', gave the following error.
25+
Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'.
26+
Overload 2 of 3, '(options?: SaveOptions, fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error.
27+
Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'.
28+
Overload 3 of 3, '(fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error.
29+
Argument of type '(err: WriteError) => void' is not assignable to parameter of type '(err: NativeError, doc: UserDocument) => void'.
30+
Types of parameters 'err' and 'err' are incompatible.
31+
Type 'NativeError' is missing the following properties from type 'WriteError': code, index, errmsg
32+
src/controllers/user.ts(183,29): error TS7006: Parameter 'err' implicitly has an 'any' type.
33+
src/controllers/user.ts(186,19): error TS2769: No overload matches this call.
34+
Overload 1 of 3, '(options?: SaveOptions): Promise<UserDocument>', gave the following error.
35+
Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'.
36+
Overload 2 of 3, '(options?: SaveOptions, fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error.
37+
Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'.
38+
Overload 3 of 3, '(fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error.
39+
Argument of type '(err: WriteError) => void' is not assignable to parameter of type '(err: NativeError, doc: UserDocument) => void'.
40+
Types of parameters 'err' and 'err' are incompatible.
41+
Type 'NativeError' is not assignable to type 'WriteError'.
42+
src/controllers/user.ts(215,29): error TS7006: Parameter 'err' implicitly has an 'any' type.
43+
src/controllers/user.ts(349,54): error TS7006: Parameter 'err' implicitly has an 'any' type.
1444

1545

1646

‎tests/baselines/reference/user/TypeScript-WeChat-Starter.log

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/@types/connect/index.d.ts(21,42): error TS2689: Cannot extend an interface 'http.IncomingMessage'. Did you mean 'implements'?
4-
node_modules/@types/serve-static/index.d.ts(18,45): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'.
5-
node_modules/@types/serve-static/index.d.ts(25,49): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'.
6-
node_modules/@types/serve-static/index.d.ts(25,72): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'.
7-
node_modules/@types/serve-static/index.d.ts(98,45): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'.
8-
node_modules/@types/serve-static/index.d.ts(102,56): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'.
3+
node_modules/@types/connect/index.d.ts(20,42): error TS2689: Cannot extend an interface 'http.IncomingMessage'. Did you mean 'implements'?
94

105

116

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot f
3535
node_modules/adonis-framework/src/Config/index.js(58,15): error TS2304: Cannot find name 'Mixed'.
3636
node_modules/adonis-framework/src/Encryption/index.js(53,15): error TS2304: Cannot find name 'Mixed'.
3737
node_modules/adonis-framework/src/Encryption/index.js(71,34): error TS2769: No overload matches this call.
38-
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error.
38+
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: BinaryToTextEncoding): string', gave the following error.
3939
Argument of type 'string' is not assignable to parameter of type 'undefined'.
40-
Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "binary" | undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error.
41-
Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "binary" | undefined'.
40+
Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined, output_encoding: BinaryToTextEncoding): string', gave the following error.
41+
Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined'.
4242
node_modules/adonis-framework/src/Encryption/index.js(77,27): error TS2322: Type 'string' is not assignable to type 'Buffer'.
4343
node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
4444
node_modules/adonis-framework/src/Encryption/index.js(85,23): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name.
4545
node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'.
46-
node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No overload matches this call.
47-
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error.
48-
Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
49-
Overload 2 of 4, '(data: string, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error.
50-
Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
46+
node_modules/adonis-framework/src/Encryption/index.js(101,21): error TS2769: No overload matches this call.
47+
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: BufferEncoding): string', gave the following error.
48+
Argument of type '"base64"' is not assignable to parameter of type 'undefined'.
49+
Overload 2 of 4, '(data: string, input_encoding: "base64" | "hex" | undefined, output_encoding: BufferEncoding): string', gave the following error.
50+
Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
5151
node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'.
5252
Type 'string' is not assignable to type 'Buffer'.
5353
node_modules/adonis-framework/src/Encryption/index.js(102,33): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
@@ -125,7 +125,7 @@ node_modules/adonis-framework/src/Request/index.js(466,15): error TS2304: Cannot
125125
node_modules/adonis-framework/src/Request/index.js(468,15): error TS2304: Cannot find name 'Mixed'.
126126
node_modules/adonis-framework/src/Request/index.js(480,14): error TS2304: Cannot find name 'Mixed'.
127127
node_modules/adonis-framework/src/Request/index.js(482,15): error TS2304: Cannot find name 'Mixed'.
128-
node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'param'?
128+
node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'params'?
129129
node_modules/adonis-framework/src/Request/index.js(523,15): error TS2304: Cannot find name 'Objecr'.
130130
node_modules/adonis-framework/src/Request/index.js(572,23): error TS8029: JSDoc '@param' tag has name 'pattern', but there is no parameter with that name. It would match 'arguments' if it had an array type.
131131
node_modules/adonis-framework/src/Request/index.js(600,17): error TS2554: Expected 2 arguments, but got 1.

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

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
Exit Code: 2
22
Standard output:
33
lib/adapters/http.js(13,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
4-
lib/adapters/http.js(84,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
4+
lib/adapters/http.js(22,12): error TS2304: Cannot find name 'AxiosProxyConfig'.
5+
lib/adapters/http.js(34,5): error TS2532: Object is possibly 'undefined'.
6+
lib/adapters/http.js(38,11): error TS2339: Property 'beforeRedirect' does not exist on type 'ClientRequestArgs'.
7+
lib/adapters/http.js(109,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
58
Type 'null' is not assignable to type 'string'.
6-
lib/adapters/http.js(121,17): error TS2531: Object is possibly 'null'.
7-
lib/adapters/http.js(121,40): error TS2531: Object is possibly 'null'.
8-
lib/adapters/http.js(225,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
9-
lib/adapters/http.js(231,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
10-
lib/adapters/http.js(237,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
11-
lib/adapters/http.js(239,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
12-
lib/adapters/http.js(239,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
13-
lib/adapters/http.js(252,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
14-
lib/adapters/http.js(281,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
9+
lib/adapters/http.js(146,17): error TS2531: Object is possibly 'null'.
10+
lib/adapters/http.js(146,40): error TS2531: Object is possibly 'null'.
11+
lib/adapters/http.js(241,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
12+
lib/adapters/http.js(247,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
13+
lib/adapters/http.js(253,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
14+
lib/adapters/http.js(255,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
15+
lib/adapters/http.js(255,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
16+
lib/adapters/http.js(268,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
17+
lib/adapters/http.js(297,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
1518
lib/adapters/xhr.js(65,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1619
lib/adapters/xhr.js(77,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
1720
lib/adapters/xhr.js(84,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
@@ -49,7 +52,7 @@ lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on
4952
lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
5053
lib/helpers/buildURL.js(22,49): error TS1016: A required parameter cannot follow an optional parameter.
5154
lib/helpers/cookies.js(16,56): error TS2551: Property 'toGMTString' does not exist on type 'Date'. Did you mean 'toUTCString'?
52-
lib/utils.js(273,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type.
55+
lib/utils.js(271,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type.
5356

5457

5558

‎tests/baselines/reference/user/bcryptjs.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name '
2828
node_modules/bcryptjs/src/wrap.js(37,26): error TS2304: Cannot find name 'define'.
2929
node_modules/bcryptjs/src/wrap.js(37,51): error TS2304: Cannot find name 'define'.
3030
node_modules/bcryptjs/src/wrap.js(38,9): error TS2304: Cannot find name 'define'.
31-
node_modules/bcryptjs/src/wrap.js(49,12): error TS2552: Cannot find name 'bcrypt'. Did you mean 'Crypto'?
31+
node_modules/bcryptjs/src/wrap.js(49,12): error TS2552: Cannot find name 'bcrypt'. Did you mean 'crypto'?
3232
node_modules/bcryptjs/tests/suite.js(3,23): error TS2307: Cannot find module 'bcrypt' or its corresponding type declarations.
3333

3434

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6084,8 +6084,6 @@ node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUt
60846084
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,16): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'.
60856085
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,68): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'.
60866086
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(296,41): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'.
6087-
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(306,66): error TS2349: This expression is not callable.
6088-
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.
60896087
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: EventListenerObjectInInspectedPage[]; internalHandlers: (() => any)[]; }'.
60906088
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(371,103): error TS2322: Type '{ type: any; useCapture: any; passive: any; once: any; handler: any; remove: any; }' is not assignable to type 'EventListenerObjectInInspectedPage'.
60916089
Object literal may only specify known properties, and 'remove' does not exist in type 'EventListenerObjectInInspectedPage'.

‎tests/baselines/reference/user/debug.log

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,5 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/debug/dist/debug.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable.
4-
node_modules/debug/dist/debug.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable.
5-
node_modules/debug/dist/debug.js(8,21): error TS2304: Cannot find name 'define'.
6-
node_modules/debug/dist/debug.js(8,46): error TS2304: Cannot find name 'define'.
7-
node_modules/debug/dist/debug.js(9,5): error TS2304: Cannot find name 'define'.
8-
node_modules/debug/dist/debug.js(33,38): error TS2554: Expected 1 arguments, but got 2.
9-
node_modules/debug/dist/debug.js(34,32): error TS2554: Expected 1 arguments, but got 2.
10-
node_modules/debug/dist/debug.js(36,21): error TS2339: Property 'code' does not exist on type 'Error'.
11-
node_modules/debug/dist/debug.js(89,38): error TS2339: Property 'length' does not exist on type 'string | number'.
12-
Property 'length' does not exist on type 'number'.
13-
node_modules/debug/dist/debug.js(90,24): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'string'.
14-
Type 'number' is not assignable to type 'string'.
15-
node_modules/debug/dist/debug.js(91,47): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'number'.
16-
Type 'string' is not assignable to type 'number'.
17-
node_modules/debug/dist/debug.js(92,41): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'number'.
18-
Type 'string' is not assignable to type 'number'.
19-
node_modules/debug/dist/debug.js(92,57): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'number'.
20-
Type 'string' is not assignable to type 'number'.
21-
node_modules/debug/dist/debug.js(110,11): error TS2322: Type 'undefined' is not assignable to type 'number'.
22-
node_modules/debug/dist/debug.js(116,11): error TS2322: Type 'undefined' is not assignable to type 'number'.
23-
node_modules/debug/dist/debug.js(169,13): error TS2322: Type 'undefined' is not assignable to type 'number'.
24-
node_modules/debug/dist/debug.js(501,30): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
25-
node_modules/debug/dist/debug.js(501,66): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
26-
node_modules/debug/dist/debug.js(530,18): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
27-
node_modules/debug/dist/debug.js(531,18): error TS2339: Property 'prev' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
28-
node_modules/debug/dist/debug.js(532,18): error TS2339: Property 'curr' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
29-
node_modules/debug/dist/debug.js(563,25): error TS2551: Property 'formatArgs' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. Did you mean 'formatters'?
30-
node_modules/debug/dist/debug.js(564,30): error TS2339: Property 'log' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
31-
node_modules/debug/dist/debug.js(564,49): error TS2339: Property 'log' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
32-
node_modules/debug/dist/debug.js(570,41): error TS2339: Property 'useColors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
33-
node_modules/debug/dist/debug.js(577,34): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
34-
node_modules/debug/dist/debug.js(578,25): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
35-
node_modules/debug/dist/debug.js(609,23): error TS2339: Property 'save' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
36-
node_modules/debug/dist/debug.js(680,19): error TS2304: Cannot find name 'Mixed'.
37-
node_modules/debug/dist/debug.js(681,20): error TS2304: Cannot find name 'Mixed'.
38-
node_modules/debug/dist/debug.js(694,40): error TS2339: Property 'load' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
39-
node_modules/debug/dist/debug.js(733,82): error TS2339: Property 'type' does not exist on type 'Process'.
40-
node_modules/debug/dist/debug.js(733,120): error TS2339: Property '__nwjs' does not exist on type 'Process'.
41-
node_modules/debug/dist/debug.js(744,146): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'?
42-
node_modules/debug/dist/debug.js(745,78): error TS2339: Property 'firebug' does not exist on type 'Console'.
43-
node_modules/debug/dist/debug.js(745,89): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
44-
node_modules/debug/dist/debug.js(799,156): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[message?: any, ...optionalParams: any[]]'.
45-
node_modules/debug/dist/debug.js(851,21): error TS2304: Cannot find name 'LocalStorage'.
463
node_modules/debug/src/browser.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable.
474
node_modules/debug/src/browser.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable.
485
node_modules/debug/src/browser.js(34,74): error TS2339: Property 'type' does not exist on type 'Process'.

‎tests/baselines/reference/user/discord.js.log

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ node_modules/discord.js/typings/index.d.ts(133,43): error TS2694: Namespace 'Nod
1111
node_modules/discord.js/typings/index.d.ts(135,93): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
1212
node_modules/discord.js/typings/index.d.ts(136,92): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
1313
node_modules/discord.js/typings/index.d.ts(137,79): error TS2694: Namespace 'NodeJS' has no exported member 'Immediate'.
14-
node_modules/discord.js/typings/index.d.ts(282,30): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
15-
node_modules/discord.js/typings/index.d.ts(283,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
16-
node_modules/discord.js/typings/index.d.ts(1819,103): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
17-
node_modules/discord.js/typings/index.d.ts(1821,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
18-
node_modules/discord.js/typings/index.d.ts(1824,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
19-
node_modules/discord.js/typings/index.d.ts(3145,21): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
14+
node_modules/discord.js/typings/index.d.ts(283,30): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
15+
node_modules/discord.js/typings/index.d.ts(284,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
16+
node_modules/discord.js/typings/index.d.ts(1805,103): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
17+
node_modules/discord.js/typings/index.d.ts(1807,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
18+
node_modules/discord.js/typings/index.d.ts(1810,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
19+
node_modules/discord.js/typings/index.d.ts(3155,21): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
2020

2121

2222

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ node_modules/follow-redirects/index.js(360,14): error TS2339: Property 'emit' do
2020
node_modules/follow-redirects/index.js(372,13): error TS2339: Property 'cause' does not exist on type 'CustomError'.
2121
node_modules/follow-redirects/index.js(373,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
2222
node_modules/follow-redirects/index.js(380,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
23-
node_modules/follow-redirects/index.js(492,25): error TS2339: Property 'code' does not exist on type 'Error'.
23+
node_modules/follow-redirects/index.js(498,25): error TS2339: Property 'code' does not exist on type 'Error'.
2424

2525

2626

‎tests/baselines/reference/user/formik.log

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Exit Code: 2
2+
Standard output:
3+
test/Either.ts(244,33): error TS2345: Argument of type 'Either<string, never>' is not assignable to parameter of type 'Either<`invalid color ${string}`, string>'.
4+
Type 'Left<string>' is not assignable to type 'Either<`invalid color ${string}`, string>'.
5+
Type 'Left<string>' is not assignable to type 'Left<`invalid color ${string}`>'.
6+
Type 'string' is not assignable to type '`invalid color ${string}`'.
7+
8+
9+
10+
Standard error:

‎tests/baselines/reference/user/npm.log

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,8 @@ node_modules/npm/lib/pack.js(127,15): error TS2339: Property 'config' does not e
643643
node_modules/npm/lib/pack.js(147,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'.
644644
node_modules/npm/lib/pack.js(177,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'.
645645
node_modules/npm/lib/pack.js(299,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'.
646-
node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
646+
node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type '`--${string}=${any}`' is not assignable to parameter of type 'never'.
647+
Type 'string' is not assignable to type 'never'.
647648
node_modules/npm/lib/pack.js(300,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'.
648649
node_modules/npm/lib/pack.js(333,15): error TS2531: Object is possibly 'null'.
649650
node_modules/npm/lib/pack.js(335,17): error TS2339: Property 'code' does not exist on type 'Error'.
@@ -1593,8 +1594,8 @@ node_modules/npm/test/tap/publish-access-unscoped.js(31,35): error TS2345: Argum
15931594
node_modules/npm/test/tap/publish-config.js(4,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
15941595
node_modules/npm/test/tap/publish-invalid-semver-tag.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
15951596
node_modules/npm/test/tap/publish-invalid-semver-tag.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
1596-
node_modules/npm/test/tap/publish-invalid-semver-tag.js(26,59): error TS2345: Argument of type '{ name: string; version: string; }' is not assignable to parameter of type 'string | DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array'.
1597-
Type '{ name: string; version: string; }' is missing the following properties from type 'Float64Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 26 more.
1597+
node_modules/npm/test/tap/publish-invalid-semver-tag.js(26,59): error TS2345: Argument of type '{ name: string; version: string; }' is not assignable to parameter of type 'string | DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | ... 5 more ... | BigUint64Array'.
1598+
Type '{ name: string; version: string; }' is missing the following properties from type 'BigUint64Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 26 more.
15981599
node_modules/npm/test/tap/publish-invalid-semver-tag.js(37,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'.
15991600
node_modules/npm/test/tap/publish-invalid-semver-tag.js(53,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'.
16001601
node_modules/npm/test/tap/publish-invalid-semver-tag.js(54,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'.

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

Lines changed: 212 additions & 195 deletions
Large diffs are not rendered by default.

‎tests/baselines/reference/user/webpack.log

Lines changed: 5 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,10 @@
11
Exit Code: 2
22
Standard output:
3-
lib/Compilation.js(37,7): error TS2440: Import declaration conflicts with local declaration of 'Module'.
4-
lib/Compilation.js(49,7): error TS2440: Import declaration conflicts with local declaration of 'WebpackError'.
5-
lib/Compilation.js(53,7): error TS2440: Import declaration conflicts with local declaration of 'StatsFactory'.
6-
lib/Compilation.js(54,7): error TS2440: Import declaration conflicts with local declaration of 'StatsPrinter'.
7-
lib/Compiler.js(156,4): error TS2322: Type 'AsyncParallelHook<any, UnsetAdditionalOptions>' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'.
8-
lib/Compiler.js(156,4): error TS2322: Type 'AsyncParallelHook<any, UnsetAdditionalOptions>' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'.
9-
Types of property 'intercept' are incompatible.
10-
Type '(interceptor: HookInterceptor<any, void, UnsetAdditionalOptions>) => void' is not assignable to type '(interceptor: HookInterceptor<[Compilation], void, Module>) => void'.
11-
Types of parameters 'interceptor' and 'interceptor' are incompatible.
12-
Type 'HookInterceptor<[Compilation], void, Module>' is not assignable to type 'HookInterceptor<any, void, UnsetAdditionalOptions>'.
13-
Property '_UnsetAdditionalOptions' is missing in type 'Module' but required in type 'UnsetAdditionalOptions'.
14-
lib/Compiler.js(158,4): error TS2322: Type 'AsyncSeriesHook<any, UnsetAdditionalOptions>' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'.
15-
lib/Compiler.js(158,4): error TS2322: Type 'AsyncSeriesHook<any, UnsetAdditionalOptions>' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'.
16-
Types of property 'intercept' are incompatible.
17-
Type '(interceptor: HookInterceptor<any, void, UnsetAdditionalOptions>) => void' is not assignable to type '(interceptor: HookInterceptor<[Compilation], void, Module>) => void'.
18-
Types of parameters 'interceptor' and 'interceptor' are incompatible.
19-
Type 'HookInterceptor<[Compilation], void, Module>' is not assignable to type 'HookInterceptor<any, void, UnsetAdditionalOptions>'.
20-
lib/ExportsInfo.js(1092,28): error TS1016: A required parameter cannot follow an optional parameter.
21-
lib/FlagDependencyUsagePlugin.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
22-
lib/NormalModule.js(19,7): error TS2440: Import declaration conflicts with local declaration of 'Compilation'.
23-
lib/RuntimeTemplate.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'InitFragment'.
24-
lib/Template.js(8,9): error TS2440: Import declaration conflicts with local declaration of 'ConcatSource'.
25-
lib/Watching.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Stats'.
26-
lib/WebpackOptionsApply.js(79,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'.
27-
lib/WebpackOptionsApply.js(83,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'.
28-
lib/WebpackOptionsApply.js(87,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'.
29-
lib/WebpackOptionsApply.js(96,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'.
30-
lib/WebpackOptionsApply.js(100,10): error TS2300: Duplicate identifier 'ExternalsPlugin'.
31-
lib/WebpackOptionsApply.js(104,10): error TS2300: Duplicate identifier 'ExternalsPlugin'.
32-
lib/WebpackOptionsApply.js(107,10): error TS2300: Duplicate identifier 'ExternalsPlugin'.
33-
lib/WebpackOptionsApply.js(158,10): error TS2300: Duplicate identifier 'ExternalsPlugin'.
34-
lib/WebpackOptionsApply.js(423,12): error TS2300: Duplicate identifier 'OccurrenceChunkIdsPlugin'.
35-
lib/WebpackOptionsApply.js(430,12): error TS2300: Duplicate identifier 'OccurrenceChunkIdsPlugin'.
36-
lib/WebpackOptionsApply.js(481,12): error TS2300: Duplicate identifier 'MemoryCachePlugin'.
37-
lib/WebpackOptionsApply.js(491,12): error TS2300: Duplicate identifier 'MemoryCachePlugin'.
38-
lib/cache/ResolverCachePlugin.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'LazySet'.
39-
lib/dependencies/CommonJsExportRequireDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
40-
lib/dependencies/HarmonyExportImportedSpecifierDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
41-
lib/dependencies/HarmonyImportDependency.js(9,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
42-
lib/dependencies/HarmonyImportSpecifierDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
43-
lib/dependencies/ImportDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
44-
lib/dependencies/ModuleDecoratorDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
45-
lib/dependencies/NullDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
46-
lib/dependencies/RequireIncludeDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
47-
lib/dependencies/WorkerDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'.
48-
lib/javascript/EnableChunkLoadingPlugin.js(84,12): error TS2300: Duplicate identifier 'CommonJsChunkLoadingPlugin'.
49-
lib/javascript/EnableChunkLoadingPlugin.js(91,12): error TS2300: Duplicate identifier 'CommonJsChunkLoadingPlugin'.
50-
lib/library/EnableLibraryPlugin.js(79,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
51-
lib/library/EnableLibraryPlugin.js(89,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
52-
lib/library/EnableLibraryPlugin.js(99,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
53-
lib/library/EnableLibraryPlugin.js(109,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
54-
lib/library/EnableLibraryPlugin.js(119,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
55-
lib/library/EnableLibraryPlugin.js(129,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
56-
lib/library/EnableLibraryPlugin.js(139,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
57-
lib/library/EnableLibraryPlugin.js(150,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'.
58-
lib/optimize/SplitChunksPlugin.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Chunk'.
59-
lib/runtime/LoadScriptRuntimeModule.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Compilation'.
60-
lib/util/registerExternalSerializer.js(319,16): error TS2339: Property 'errors' does not exist on type 'typeof ValidationError'.
61-
lib/util/registerExternalSerializer.js(320,16): error TS2339: Property 'schema' does not exist on type 'typeof ValidationError'.
62-
lib/util/registerExternalSerializer.js(322,17): error TS2339: Property 'headerName' does not exist on type 'typeof ValidationError'.
63-
lib/util/registerExternalSerializer.js(323,25): error TS2339: Property 'baseDataPath' does not exist on type 'typeof ValidationError'.
64-
lib/util/registerExternalSerializer.js(324,26): error TS2339: Property 'postFormatter' does not exist on type 'typeof ValidationError'.
65-
lib/util/registerExternalSerializer.js(333,4): error TS2739: Type 'ValidationError' is missing the following properties from type 'typeof ValidationError': prototype, captureStackTrace, stackTraceLimit
66-
lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(9,7): error TS2440: Import declaration conflicts with local declaration of 'Compilation'.
67-
lib/webpack.js(10,7): error TS2440: Import declaration conflicts with local declaration of 'Compiler'.
68-
lib/webpack.js(11,7): error TS2440: Import declaration conflicts with local declaration of 'MultiCompiler'.
3+
lib/MultiCompiler.js(247,18): error TS2345: Argument of type '"Circular dependency found in compiler dependencies."' is not assignable to parameter of type '`${string} -> ${string}`'.
4+
lib/MultiCompiler.js(248,19): error TS2345: Argument of type 'string' is not assignable to parameter of type '`Compiler dependency \`${string}\` not found.`'.
5+
lib/stats/DefaultStatsPrinterPlugin.js(418,55): error TS2345: Argument of type 'StatsPrinterContext' is not assignable to parameter of type '{ formatSize?: (n: any) => `${any}`; }'.
6+
The types returned by 'formatSize(...)' are incompatible between these types.
7+
Type 'string' is not assignable to type '`${any}`'.
698

709

7110

0 commit comments

Comments
 (0)
Please sign in to comment.