Skip to content

Commit

Permalink
Update user baselines (microsoft#39077)
Browse files Browse the repository at this point in the history
Co-authored-by: typescript-bot <typescript@microsoft.com>
  • Loading branch information
typescript-bot and typescript-bot committed Jun 22, 2020
1 parent 0ae5cb6 commit d10beaa
Show file tree
Hide file tree
Showing 28 changed files with 146 additions and 138 deletions.
12 changes: 6 additions & 6 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7
[!] (plugin rpt2) 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'.
packages/runtime-core/src/apiInject.ts
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'.
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:213:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17117:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17911:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17290:38)
at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:5154:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17381:12)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18002:24)
at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17554:38)
at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18)
at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11
at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11)
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 (EPERM): rollup -c --environment COMMIT:cf2f278,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:ca137db,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:112:26)
at handlePromise (/vue-next/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async build (/vue-next/scripts/build.js:71:3)
at async buildAll (/vue-next/scripts/build.js:50:5)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
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'.

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

Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/acorn.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,10): error TS2304: Cannot find name 'define'.
node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,35): error TS2304: Cannot find name 'define'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/adonis-framework.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/adonis-framework/lib/util.js(24,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/providers/ConfigProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/assert.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
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.
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.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/async.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/async/all.js(32,12): error TS2304: Cannot find name 'AsyncFunction'.
node_modules/async/all.js(49,20): error TS2695: Left side of comma operator is unused and has no side effects.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/axios-src.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
lib/adapters/http.js(13,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension
lib/adapters/http.js(84,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/bcryptjs.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript' or its corresponding type declarations.
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; }'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/bluebird.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/bluebird/js/release/assert.js(11,30): error TS2339: Property 'constructor$' does not exist on type 'Error'.
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.
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/user/chrome-devtools-frontend.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Exit Code: 1
Exit Code: 2
Standard output:
../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'.
../../../../built/local/lib.es5.d.ts(1451,11): error TS2300: Duplicate identifier 'ArrayLike'.
../../../../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'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'.
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.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/clone.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
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'.
node_modules/clone/clone.js(167,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/create-react-app.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,8): error TS8010: Type annotations can only be used in TypeScript files.
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,13): error TS1005: ';' expected.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/debug.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/debug/dist/debug.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable.
node_modules/debug/dist/debug.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/discord.js.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
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.
Try `npm install @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';`
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/enhanced-resolve.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(120,20): error TS2532: Object is possibly 'undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(123,17): error TS2532: Object is possibly 'undefined'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/follow-redirects.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/follow-redirects/index.js(68,11): error TS2554: Expected 1 arguments, but got 0.
node_modules/follow-redirects/index.js(96,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/graceful-fs.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
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'.
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>'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/lodash.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/lodash/_Hash.js(20,17): error TS2532: Object is possibly 'undefined'.
node_modules/lodash/_ListCache.js(20,17): error TS2532: Object is possibly 'undefined'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/minimatch.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/minimatch/minimatch.js(77,17): error TS2551: Property 'minimatch' does not exist on type 'typeof minimatch'. Did you mean 'Minimatch'?
node_modules/minimatch/minimatch.js(410,15): error TS2532: Object is possibly 'undefined'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/npm.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
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'?
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'?
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/npmlog.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
node_modules/npmlog/log.js(83,12): error TS2551: Property '_pause' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?
node_modules/npmlog/log.js(149,8): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/prettier.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exit Code: 1
Exit Code: 2
Standard output:
src/main/comments.js(325,5): error TS2775: Assertions require every name in the call target to be declared with an explicit type annotation.
src/main/comments.js(326,5): error TS2775: Assertions require every name in the call target to be declared with an explicit type annotation.
Expand Down
Loading

0 comments on commit d10beaa

Please sign in to comment.