Skip to content

Commit ab0428c

Browse files
TypeScript Bottypescript-bot
TypeScript Bot
andauthored
Update user baselines (microsoft#38109)
Co-authored-by: typescript-bot <[email protected]>
1 parent 032aa90 commit ab0428c

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -75,27 +75,27 @@ created packages/reactivity/dist/reactivity.cjs.prod.js in ?s
7575
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js...
7676
created packages/reactivity/dist/reactivity.global.prod.js in ?s
7777
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
78-
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/componentOptions.ts(181,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
78+
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/componentOptions.ts(182,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
7979
Type 'Function' provides no match for the signature '(...args: any): any'.
8080
packages/runtime-core/src/componentOptions.ts
81-
Error: /vue-next/packages/runtime-core/src/componentOptions.ts(181,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
81+
Error: /vue-next/packages/runtime-core/src/componentOptions.ts(182,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
8282
Type 'Function' provides no match for the signature '(...args: any): any'.
83-
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:10399:30)
84-
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16617:12)
85-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17634:24)
86-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:16790:38)
83+
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:160:30)
84+
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:16838:12)
85+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17857:24)
86+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17011:38)
8787
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
8888
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
8989
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
9090
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
9191
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
9292
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5)
93-
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:6fefeaf,NODE_ENV:production,TARGET:runtime-core,TYPES:true
93+
(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:2acf3e8,NODE_ENV:production,TARGET:runtime-core,TYPES:true
9494
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
9595
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
9696
at processTicksAndRejections (internal/process/task_queues.js:97:5)
9797
at async build (/vue-next/scripts/build.js:71:3)
9898
at async buildAll (/vue-next/scripts/build.js:50:5)
9999
at async run (/vue-next/scripts/build.js:40:5)
100-
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
101-
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
100+
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
101+
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

tests/baselines/reference/user/npm.log

+7
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ node_modules/npm/lib/config/lifecycle.js(23,24): error TS2339: Property 'config'
208208
node_modules/npm/lib/config/lifecycle.js(24,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
209209
node_modules/npm/lib/config/lifecycle.js(25,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
210210
node_modules/npm/lib/config/lifecycle.js(26,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
211+
node_modules/npm/lib/config/nerf-dart.js(16,10): error TS2790: The operand of a 'delete' operator must be optional.
212+
node_modules/npm/lib/config/nerf-dart.js(17,10): error TS2790: The operand of a 'delete' operator must be optional.
213+
node_modules/npm/lib/config/nerf-dart.js(18,10): error TS2790: The operand of a 'delete' operator must be optional.
214+
node_modules/npm/lib/config/nerf-dart.js(19,10): error TS2790: The operand of a 'delete' operator must be optional.
215+
node_modules/npm/lib/config/nerf-dart.js(20,10): error TS2790: The operand of a 'delete' operator must be optional.
211216
node_modules/npm/lib/config/pacote.js(23,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
212217
node_modules/npm/lib/config/pacote.js(24,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
213218
node_modules/npm/lib/config/pacote.js(25,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
@@ -1227,6 +1232,8 @@ node_modules/npm/test/tap/correct-mkdir.js(114,16): error TS2532: Object is poss
12271232
node_modules/npm/test/tap/correct-mkdir.js(115,16): error TS2532: Object is possibly 'undefined'.
12281233
node_modules/npm/test/tap/correct-mkdir.js(131,3): error TS2322: Type '999' is not assignable to type 'string | undefined'.
12291234
node_modules/npm/test/tap/correct-mkdir.js(132,3): error TS2322: Type '999' is not assignable to type 'string | undefined'.
1235+
node_modules/npm/test/tap/correct-mkdir.js(133,10): error TS2790: The operand of a 'delete' operator must be optional.
1236+
node_modules/npm/test/tap/correct-mkdir.js(134,10): error TS2790: The operand of a 'delete' operator must be optional.
12301237
node_modules/npm/test/tap/cruft-test.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
12311238
node_modules/npm/test/tap/debug-logs.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
12321239
node_modules/npm/test/tap/debug-logs.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations.

tests/baselines/reference/user/puppeteer.log

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
Exit Code: 1
22
Standard output:
3-
src/JSHandle.ts(440,5): error TS2322: Type 'unknown' is not assignable to type 'T'.
4-
'unknown' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'unknown'.
5-
src/JSHandle.ts(454,5): error TS2322: Type 'unknown' is not assignable to type 'T'.
6-
'T' could be instantiated with an arbitrary type which could be unrelated to 'unknown'.
73
src/Launcher.js(181,17): error TS1003: Identifier expected.
84
src/Launcher.js(359,17): error TS1003: Identifier expected.
95

0 commit comments

Comments
 (0)