From b485f1c7b3979cb4f91fbeb1effef4b0bced4864 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 24 Jun 2020 04:27:20 +0000 Subject: [PATCH 1/2] Update user baselines --- tests/baselines/reference/docker/vue-next.log | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index 934f616dc11e5..4200ec37a1346 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -124,7 +124,7 @@ Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2) at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:37a5952,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:8c72b1f,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) at handlePromise (/vue-next/node_modules/execa/index.js:114:26) at processTicksAndRejections (internal/process/task_queues.js:97:5) From d67fba20a785b0771bd232fea3bfb9d813d02d44 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 24 Jun 2020 16:40:32 +0000 Subject: [PATCH 2/2] Update user baselines --- tests/baselines/reference/docker/vscode.log | 73 ++++++++++++++++++- tests/baselines/reference/docker/vue-next.log | 2 +- tests/baselines/reference/user/immutable.log | 23 ++++++ 3 files changed, 95 insertions(+), 3 deletions(-) create mode 100644 tests/baselines/reference/user/immutable.log diff --git a/tests/baselines/reference/docker/vscode.log b/tests/baselines/reference/docker/vscode.log index 45c7728bdb5d0..1e3f5874fbe8c 100644 --- a/tests/baselines/reference/docker/vscode.log +++ b/tests/baselines/reference/docker/vscode.log @@ -1,11 +1,80 @@ -Exit Code: 0 +Exit Code: 1 Standard output: yarn run vX.X.X $ gulp compile --max_old_space_size=4095 [XX:XX:XX] Node flags detected: --max_old_space_size=4095 [XX:XX:XX] Using gulpfile /vscode/gulpfile.js -Done in ?s. +[XX:XX:XX] Error: /vscode/extensions/grunt/src/main.ts(116,5): Type 'Promise' is not assignable to type 'Thenable'. + The types of 'then(...).then' are incompatible between these types. + Type '(onfulfilled?: ((value: never) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => Promise<...>' is not assignable to type '{ (onfulfilled?: ((value: any) => TResult | Thenable) | undefined, onrejected?: ((reason: any) => TResult | Thenable) | undefined): Thenable<...>; (onfulfilled?: ((value: any) => TResult | Thenable<...>) | undefined, onrejected?: ((reason: any) => void) | undefined): Thenable<...>...'. + Types of parameters 'onrejected' and 'onrejected' are incompatible. + Type '((reason: any) => void) | undefined' is not assignable to type '((reason: any) => PromiseLike) | null | undefined'. + Type '(reason: any) => void' is not assignable to type '(reason: any) => PromiseLike'. + Type 'void' is not assignable to type 'PromiseLike'. +[XX:XX:XX] Error: /vscode/extensions/grunt/src/main.ts(118,4): Type 'Task[] | undefined' is not assignable to type 'Task[]'. + Type 'undefined' is not assignable to type 'Task[]'. +[XX:XX:XX] Error: /vscode/extensions/grunt/src/main.ts(299,5): Type '() => Promise' is not assignable to type '(token?: CancellationToken | undefined) => ProviderResult'. + Type 'Promise' is not assignable to type 'ProviderResult'. + Type 'Promise' is not assignable to type 'Thenable'. + The types returned by 'then(...)' are incompatible between these types. + Type 'Promise' is not assignable to type 'Thenable'. +[XX:XX:XX] Error: /vscode/extensions/grunt/src/main.ts(302,5): Type '(_task: Task) => Promise' is not assignable to type '(task: Task, token?: CancellationToken | undefined) => ProviderResult'. + Type 'Promise' is not assignable to type 'ProviderResult'. + Type 'Promise' is not assignable to type 'Thenable'. + The types returned by 'then(...)' are incompatible between these types. + Type 'Promise' is not assignable to type 'Thenable'. +[XX:XX:XX] Error: /vscode/extensions/gulp/src/main.ts(124,5): Type 'Promise' is not assignable to type 'Thenable'. + The types of 'then(...).then' are incompatible between these types. + Type '(onfulfilled?: ((value: never) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => Promise<...>' is not assignable to type '{ (onfulfilled?: ((value: any) => TResult | Thenable) | undefined, onrejected?: ((reason: any) => TResult | Thenable) | undefined): Thenable<...>; (onfulfilled?: ((value: any) => TResult | Thenable<...>) | undefined, onrejected?: ((reason: any) => void) | undefined): Thenable<...>...'. + Types of parameters 'onrejected' and 'onrejected' are incompatible. + Type '((reason: any) => void) | undefined' is not assignable to type '((reason: any) => PromiseLike) | null | undefined'. + Type '(reason: any) => void' is not assignable to type '(reason: any) => PromiseLike'. + Type 'void' is not assignable to type 'PromiseLike'. +[XX:XX:XX] Error: /vscode/extensions/gulp/src/main.ts(126,4): Type 'Task[] | undefined' is not assignable to type 'Task[]'. + Type 'undefined' is not assignable to type 'Task[]'. +[XX:XX:XX] Error: /vscode/extensions/gulp/src/main.ts(281,5): Type '() => Promise' is not assignable to type '(token?: CancellationToken | undefined) => ProviderResult'. + Type 'Promise' is not assignable to type 'ProviderResult'. + Type 'Promise' is not assignable to type 'Thenable'. + The types returned by 'then(...)' are incompatible between these types. + Type 'Promise' is not assignable to type 'Thenable'. +[XX:XX:XX] Error: /vscode/extensions/gulp/src/main.ts(284,5): Type '(_task: Task) => Promise' is not assignable to type '(task: Task, token?: CancellationToken | undefined) => ProviderResult'. + Type 'Promise' is not assignable to type 'ProviderResult'. + Type 'Promise' is not assignable to type 'Thenable'. + The types returned by 'then(...)' are incompatible between these types. + Type 'Promise' is not assignable to type 'Thenable'. +[XX:XX:XX] Error: /vscode/extensions/jake/src/main.ts(116,5): Type 'Promise' is not assignable to type 'Thenable'. + The types of 'then(...).then' are incompatible between these types. + Type '(onfulfilled?: ((value: never) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => Promise<...>' is not assignable to type '{ (onfulfilled?: ((value: any) => TResult | Thenable) | undefined, onrejected?: ((reason: any) => TResult | Thenable) | undefined): Thenable<...>; (onfulfilled?: ((value: any) => TResult | Thenable<...>) | undefined, onrejected?: ((reason: any) => void) | undefined): Thenable<...>...'. + Types of parameters 'onrejected' and 'onrejected' are incompatible. + Type '((reason: any) => void) | undefined' is not assignable to type '((reason: any) => PromiseLike) | null | undefined'. + Type '(reason: any) => void' is not assignable to type '(reason: any) => PromiseLike'. + Type 'void' is not assignable to type 'PromiseLike'. +[XX:XX:XX] Error: /vscode/extensions/jake/src/main.ts(118,4): Type 'Task[] | undefined' is not assignable to type 'Task[]'. + Type 'undefined' is not assignable to type 'Task[]'. +[XX:XX:XX] Error: /vscode/extensions/jake/src/main.ts(273,5): Type '() => Promise' is not assignable to type '(token?: CancellationToken | undefined) => ProviderResult'. + Type 'Promise' is not assignable to type 'ProviderResult'. + Type 'Promise' is not assignable to type 'Thenable'. + The types returned by 'then(...)' are incompatible between these types. + Type 'Promise' is not assignable to type 'Thenable'. +[XX:XX:XX] Error: /vscode/extensions/jake/src/main.ts(276,5): Type '(_task: Task) => Promise' is not assignable to type '(task: Task, token?: CancellationToken | undefined) => ProviderResult'. + Type 'Promise' is not assignable to type 'ProviderResult'. + Type 'Promise' is not assignable to type 'Thenable'. + The types returned by 'then(...)' are incompatible between these types. + Type 'Promise' is not assignable to type 'Thenable'. +info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Standard error: +[XX:XX:XX] 'compile' errored after ?s +[XX:XX:XX] Error: Found 4 errors + at Stream. (/vscode/build/lib/reporter.js:75:29) + at _end (/vscode/node_modules/through/index.js:65:9) + at Stream.stream.end (/vscode/node_modules/through/index.js:74:5) + at StreamFilter.onend (/vscode/node_modules/readable-stream/lib/_stream_readable.js:570:10) + at Object.onceWrapper (events.js:286:20) + at StreamFilter.emit (events.js:203:15) + at StreamFilter.EventEmitter.emit (domain.js:466:23) + at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:992:12) + at process._tickCallback (internal/process/next_tick.js:63:19) +error Command failed with exit code 1. diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index 4200ec37a1346..3d440544c9b0f 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -124,7 +124,7 @@ Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2) at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:8c72b1f,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:3412893,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) at handlePromise (/vue-next/node_modules/execa/index.js:114:26) at processTicksAndRejections (internal/process/task_queues.js:97:5) diff --git a/tests/baselines/reference/user/immutable.log b/tests/baselines/reference/user/immutable.log new file mode 100644 index 0000000000000..2feb4be0d1956 --- /dev/null +++ b/tests/baselines/reference/user/immutable.log @@ -0,0 +1,23 @@ +Exit Code: 2 +Standard output: +node_modules/immutable/dist/immutable-nonambient.d.ts(1961,20): error TS2430: Interface 'Stack' incorrectly extends interface 'Indexed'. + The types returned by 'concat(...).filter(...)' are incompatible between these types. + Type 'Set' is not assignable to type 'Indexed'. +node_modules/immutable/dist/immutable-nonambient.d.ts(2701,22): error TS2430: Interface 'Keyed' incorrectly extends interface 'Seq'. + The types returned by 'map(...).map(...).findKey(...)' are incompatible between these types. + Type 'K | undefined' is not assignable to type 'undefined'. + Type 'K' is not assignable to type 'undefined'. +node_modules/immutable/dist/immutable-nonambient.d.ts(2824,22): error TS2430: Interface 'Indexed' incorrectly extends interface 'Seq'. + The types returned by 'map(...).map(...).concat(...).map(...).flatMap(...).findKey(...)' are incompatible between these types. + Type 'number | undefined' is not assignable to type 'undefined'. + Type 'number' is not assignable to type 'undefined'. +node_modules/immutable/dist/immutable-nonambient.d.ts(3252,22): error TS2430: Interface 'Keyed' incorrectly extends interface 'Collection'. + The types returned by 'toSeq().map(...)' are incompatible between these types. + Type 'Keyed' is not assignable to type 'Seq'. +node_modules/immutable/dist/immutable-nonambient.d.ts(3412,22): error TS2430: Interface 'Indexed' incorrectly extends interface 'Collection'. + The types returned by 'toSeq().map(...)' are incompatible between these types. + Type 'Indexed' is not assignable to type 'Seq'. + + + +Standard error: