Skip to content

Commit 09b6940

Browse files
Update user baselines
1 parent fe33e61 commit 09b6940

28 files changed

+40
-32
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,18 @@ Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7
115115
packages/runtime-core/src/apiInject.ts
116116
Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.
117117
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:213:30)
118-
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17117:12)
119-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17911:24)
120-
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17290:38)
118+
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17140:12)
119+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17932:24)
120+
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17313:38)
121121
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
122122
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
123123
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
124124
at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14)
125125
at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2)
126126
at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5)
127-
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:cf2f278,NODE_ENV:production,TARGET:runtime-core,TYPES:true
127+
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:ba2a4e1,NODE_ENV:production,TARGET:runtime-core,TYPES:true
128128
at makeError (/vue-next/node_modules/execa/lib/error.js:59:11)
129-
at handlePromise (/vue-next/node_modules/execa/index.js:112:26)
129+
at handlePromise (/vue-next/node_modules/execa/index.js:114:26)
130130
at processTicksAndRejections (internal/process/task_queues.js:97:5)
131131
at async build (/vue-next/scripts/build.js:71:3)
132132
at async buildAll (/vue-next/scripts/build.js:50:5)

tests/baselines/reference/user/TypeScript-React-Native-Starter.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/@types/react-native/index.d.ts(8745,18): error TS2717: Subsequent property declarations must have the same type. Property 'geolocation' must be of type 'Geolocation', but here has type 'GeolocationStatic'.
44

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/@types/connect/index.d.ts(21,42): error TS2689: Cannot extend an interface 'http.IncomingMessage'. Did you mean 'implements'?
44

tests/baselines/reference/user/acorn.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,10): error TS2304: Cannot find name 'define'.
44
node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,35): error TS2304: Cannot find name 'define'.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/adonis-framework/lib/util.js(24,13): error TS2304: Cannot find name 'Mixed'.
44
node_modules/adonis-framework/providers/ConfigProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations.

tests/baselines/reference/user/assert.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
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.
44
node_modules/assert/test.js(39,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.

tests/baselines/reference/user/async.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/async/all.js(32,12): error TS2304: Cannot find name 'AsyncFunction'.
44
node_modules/async/all.js(49,20): error TS2695: Left side of comma operator is unused and has no side effects.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
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
44
lib/adapters/http.js(84,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.

tests/baselines/reference/user/bcryptjs.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript' or its corresponding type declarations.
44
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; }'.

tests/baselines/reference/user/bluebird.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/bluebird/js/release/assert.js(11,30): error TS2339: Property 'constructor$' does not exist on type 'Error'.
44
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.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
3-
../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'.
3+
../../../../built/local/lib.es5.d.ts(1451,11): error TS2300: Duplicate identifier 'ArrayLike'.
44
../../../../node_modules/@types/node/globals.d.ts(167,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'.
55
node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'.
66
node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.

tests/baselines/reference/user/clone.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/clone/clone.js(167,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
44
node_modules/clone/clone.js(167,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.

tests/baselines/reference/user/create-react-app.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,8): error TS8010: Type annotations can only be used in TypeScript files.
44
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,13): error TS1005: ';' expected.

tests/baselines/reference/user/debug.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/debug/dist/debug.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable.
44
node_modules/debug/dist/debug.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/discord.js/typings/index.d.ts(18,30): error TS7016: Could not find a declaration file for module 'ws'. '../../../tests/cases/user/discord.js/node_modules/ws/index.js' implicitly has an 'any' type.
44
Try `npm install @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';`

tests/baselines/reference/user/enhanced-resolve.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(120,20): error TS2532: Object is possibly 'undefined'.
44
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(123,17): error TS2532: Object is possibly 'undefined'.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/follow-redirects/index.js(68,11): error TS2554: Expected 1 arguments, but got 0.
44
node_modules/follow-redirects/index.js(96,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.

tests/baselines/reference/user/graceful-fs.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/graceful-fs/clone.js(12,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'copy' must be of type '{ __proto__: any; }', but here has type 'any'.
44
node_modules/graceful-fs/clone.js(15,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.

tests/baselines/reference/user/lodash.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/lodash/_Hash.js(20,17): error TS2532: Object is possibly 'undefined'.
44
node_modules/lodash/_ListCache.js(20,17): error TS2532: Object is possibly 'undefined'.

tests/baselines/reference/user/minimatch.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/minimatch/minimatch.js(77,17): error TS2551: Property 'minimatch' does not exist on type 'typeof minimatch'. Did you mean 'Minimatch'?
44
node_modules/minimatch/minimatch.js(410,15): error TS2532: Object is possibly 'undefined'.

tests/baselines/reference/user/npm.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/npm/bin/npm-cli.js(6,13): error TS2551: Property 'echo' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Echo'?
44
node_modules/npm/bin/npm-cli.js(13,13): error TS2551: Property 'quit' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Quit'?

tests/baselines/reference/user/npmlog.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/npmlog/log.js(83,12): error TS2551: Property '_pause' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?
44
node_modules/npmlog/log.js(149,8): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?

tests/baselines/reference/user/prettier.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
src/main/comments.js(325,5): error TS2775: Assertions require every name in the call target to be declared with an explicit type annotation.
44
src/main/comments.js(326,5): error TS2775: Assertions require every name in the call target to be declared with an explicit type annotation.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/uglify-js/lib/ast.js(97,35): error TS2554: Expected 2 arguments, but got 1.
44
node_modules/uglify-js/lib/ast.js(276,38): error TS2554: Expected 0 arguments, but got 1.

tests/baselines/reference/user/url-search-params.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/url-search-params/build/url-search-params.node.js(174,1): error TS2539: Cannot assign to 'URLSearchParams' because it is not a variable.
44

tests/baselines/reference/user/util.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
node_modules/util/util.js(27,20): error TS2555: Expected at least 2 arguments, but got 1.
44
node_modules/util/util.js(35,45): error TS2769: No overload matches this call.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Exit Code: 2
2+
Standard output:
3+
lib/ContextModule.js(352,32): error TS2345: Argument of type 'Pick<ContextOptions & ContextModuleOptionsExtras, "include" | "regExp" | "chunkName" | "referencedExports" | "mode" | "recursive" | ... 6 more ... | "resourceQuery">' is not assignable to parameter of type 'ContextOptions & ContextModuleOptionsExtras'.
4+
Property 'resolveOptions' is missing in type 'Pick<ContextOptions & ContextModuleOptionsExtras, "include" | "regExp" | "chunkName" | "referencedExports" | "mode" | "recursive" | ... 6 more ... | "resourceQuery">' but required in type 'ContextModuleOptionsExtras'.
5+
6+
7+
8+
Standard error:

tests/baselines/reference/user/zone.js.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Exit Code: 1
1+
Exit Code: 2
22
Standard output:
33
../../../../node_modules/@types/node/ts3.5/globals.global.d.ts(1,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global', but here has type 'Global & typeof globalThis'.
44

0 commit comments

Comments
 (0)