Skip to content

Commit 38d6491

Browse files
Merge pull request microsoft#25361 from typescript-bot/user-update-20180601
🤖 User test baselines have changed
2 parents b563320 + e118a80 commit 38d6491

File tree

4 files changed

+144
-288
lines changed

4 files changed

+144
-288
lines changed

Diff for: tests/baselines/reference/user/assert.log

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ node_modules/assert/assert.js(394,51): error TS2339: Property 'notStrictEqual' d
3333
node_modules/assert/assert.js(473,8): error TS2339: Property 'throws' does not exist on type '(value: any, message: any) => void'.
3434
node_modules/assert/assert.js(478,8): error TS2339: Property 'doesNotThrow' does not exist on type '(value: any, message: any) => void'.
3535
node_modules/assert/assert.js(482,8): error TS2339: Property 'ifError' does not exist on type '(value: any, message: any) => void'.
36-
node_modules/assert/test.js(25,5): error TS2367: The types of these values indicate that this condition will always be 'false'.
37-
Operator '===' cannot be applied to types 'string | undefined' and 'boolean'.
36+
node_modules/assert/test.js(25,5): error TS2367: This condition will always return 'false' since the types 'string | undefined' and 'boolean' have no overlap.
3837
node_modules/assert/test.js(39,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
3938
node_modules/assert/test.js(55,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
4039
node_modules/assert/test.js(74,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?

Diff for: tests/baselines/reference/user/bluebird.log

+5-10
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,13 @@ node_modules/bluebird/js/release/async.js(94,21): error TS2300: Duplicate identi
77
node_modules/bluebird/js/release/async.js(96,21): error TS2300: Duplicate identifier 'invokeLater'.
88
node_modules/bluebird/js/release/async.js(108,21): error TS2300: Duplicate identifier 'invoke'.
99
node_modules/bluebird/js/release/async.js(118,21): error TS2300: Duplicate identifier 'settlePromises'.
10-
node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: The types of these values indicate that this condition will always be 'false'.
11-
Operator '===' cannot be applied to types 'PromiseConstructor' and 'typeof Promise'.
10+
node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: This condition will always return 'false' since the types 'PromiseConstructor' and 'typeof Promise' have no overlap.
1211
node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'.
1312
node_modules/bluebird/js/release/catch_filter.js(27,28): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: {}) => string[]) | ((o: any) => string[])' has no compatible call signatures.
14-
node_modules/bluebird/js/release/debuggability.js(18,20): error TS2367: The types of these values indicate that this condition will always be 'true'.
15-
Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
16-
node_modules/bluebird/js/release/debuggability.js(23,19): error TS2367: The types of these values indicate that this condition will always be 'true'.
17-
Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
18-
node_modules/bluebird/js/release/debuggability.js(26,26): error TS2367: The types of these values indicate that this condition will always be 'true'.
19-
Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
20-
node_modules/bluebird/js/release/debuggability.js(29,24): error TS2367: The types of these values indicate that this condition will always be 'true'.
21-
Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
13+
node_modules/bluebird/js/release/debuggability.js(18,20): error TS2367: This condition will always return 'true' since the types 'string | undefined' and 'number' have no overlap.
14+
node_modules/bluebird/js/release/debuggability.js(23,19): error TS2367: This condition will always return 'true' since the types 'string | undefined' and 'number' have no overlap.
15+
node_modules/bluebird/js/release/debuggability.js(26,26): error TS2367: This condition will always return 'true' since the types 'string | undefined' and 'number' have no overlap.
16+
node_modules/bluebird/js/release/debuggability.js(29,24): error TS2367: This condition will always return 'true' since the types 'string | undefined' and 'number' have no overlap.
2217
node_modules/bluebird/js/release/debuggability.js(160,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
2318
node_modules/bluebird/js/release/debuggability.js(166,26): error TS2339: Property 'detail' does not exist on type 'Event'.
2419
node_modules/bluebird/js/release/debuggability.js(476,19): error TS2350: Only a void function can be called with the 'new' keyword.

0 commit comments

Comments
 (0)