Skip to content

Commit

Permalink
Update user baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Jun 25, 2020
1 parent 4a9714c commit aa4f951
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 44 deletions.
50 changes: 8 additions & 42 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@ The API report is up to date: temp/compiler-sfc.api.md
Writing package typings: /vue-next/packages/compiler-sfc/dist/compiler-sfc.d.ts
Writing package typings: /vue-next/dist/compiler-sfc.d.ts
API Extractor completed successfully.
Rolling up type definitions for compiler-ssr...
Writing: /vue-next/temp/compiler-ssr.api.json
The API report is up to date: temp/compiler-ssr.api.md
Writing package typings: /vue-next/packages/compiler-ssr/dist/compiler-ssr.d.ts
Writing package typings: /vue-next/dist/compiler-ssr.d.ts
API Extractor completed successfully.
Rolling up type definitions for reactivity...
Writing: /vue-next/temp/reactivity.api.json
The API report is up to date: temp/reactivity.api.md
Writing package typings: /vue-next/packages/reactivity/dist/reactivity.d.ts
Writing package typings: /vue-next/dist/reactivity.d.ts
API Extractor completed successfully.



Expand Down Expand Up @@ -87,33 +75,11 @@ Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:75:5 - (TS7
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:76:5 - (TS7022) 'enterActiveClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7022) 'enterToClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js...
created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:71:5 - (TS7022) 'name' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:75:5 - (TS7022) 'enterFromClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:76:5 - (TS7022) 'enterActiveClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7022) 'enterToClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js...
created packages/reactivity/dist/reactivity.esm-bundler.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-browser.js...
created packages/reactivity/dist/reactivity.esm-browser.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.cjs.js...
created packages/reactivity/dist/reactivity.cjs.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.js...
created packages/reactivity/dist/reactivity.global.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-browser.prod.js...
created packages/reactivity/dist/reactivity.esm-browser.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.cjs.prod.js...
created packages/reactivity/dist/reactivity.cjs.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js...
created packages/reactivity/dist/reactivity.global.prod.js in ?s
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:71:5 - (TS7022) 'name' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:75:5 - (TS7022) 'enterFromClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:76:5 - (TS7022) 'enterActiveClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7022) 'enterToClass' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js...
[!] (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'.
[!] (plugin rpt2) Error: /vue-next/packages/compiler-ssr/src/transforms/ssrTransformComponent.ts(268,14): semantic error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
packages/compiler-ssr/src/transforms/ssrTransformComponent.ts
Error: /vue-next/packages/compiler-ssr/src/transforms/ssrTransformComponent.ts(268,14): semantic error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
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)
Expand All @@ -124,13 +90,13 @@ 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:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:f54be6a,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:f54be6a,NODE_ENV:production,TARGET:compiler-ssr,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)
at async build (/vue-next/scripts/build.js:71:3)
at async buildAll (/vue-next/scripts/build.js:50:5)
at async run (/vue-next/scripts/build.js:40:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(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)
(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.
(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)
(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.
6 changes: 6 additions & 0 deletions tests/baselines/reference/user/async.log
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ node_modules/async/dist/async.js(1509,9): error TS2322: Type 'null' is not assig
node_modules/async/dist/async.js(1578,20): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/async/dist/async.js(1580,51): error TS2532: Object is possibly 'undefined'.
node_modules/async/dist/async.js(1622,17): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/async/dist/async.js(1664,46): error TS2345: Argument of type 'any[] | readonly any[]' is not assignable to parameter of type 'any[]'.
The type 'readonly any[]' is 'readonly' and cannot be assigned to the mutable type 'any[]'.
node_modules/async/dist/async.js(1681,26): error TS1016: A required parameter cannot follow an optional parameter.
node_modules/async/dist/async.js(1687,30): error TS2532: Object is possibly 'undefined'.
node_modules/async/dist/async.js(1739,21): error TS2345: Argument of type 'any[] | readonly any[]' is not assignable to parameter of type 'any[] | undefined'.
The type 'readonly any[]' is 'readonly' and cannot be assigned to the mutable type 'any[]'.
node_modules/async/dist/async.js(1761,7): error TS2532: Object is possibly 'undefined'.
node_modules/async/dist/async.js(1762,14): error TS2532: Object is possibly 'undefined'.
node_modules/async/dist/async.js(1762,45): error TS2532: Object is possibly 'undefined'.
Expand Down Expand Up @@ -154,6 +158,8 @@ node_modules/async/dist/async.js(3828,14): error TS2339: Property 'unmemoized' d
node_modules/async/dist/async.js(3848,23): error TS1003: Identifier expected.
node_modules/async/dist/async.js(3848,24): error TS1003: Identifier expected.
node_modules/async/dist/async.js(3848,25): error TS1003: Identifier expected.
node_modules/async/dist/async.js(4374,28): error TS2345: Argument of type 'any[] | readonly any[]' is not assignable to parameter of type 'any[] | undefined'.
The type 'readonly any[]' is 'readonly' and cannot be assigned to the mutable type 'any[]'.
node_modules/async/dist/async.js(4381,5): error TS2322: Type 'any[] | {}' is not assignable to type 'any[]'.
Type '{}' is missing the following properties from type 'any[]': length, pop, push, concat, and 28 more.
node_modules/async/dist/async.js(4570,22): error TS1016: A required parameter cannot follow an optional parameter.
Expand Down
23 changes: 21 additions & 2 deletions tests/baselines/reference/user/chrome-devtools-frontend.log
Original file line number Diff line number Diff line change
Expand Up @@ -6164,6 +6164,8 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js
Type 'TemplateLiteralNode' is missing the following properties from type 'Node': start, end, type, body, and 16 more.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(63,57): error TS2345: Argument of type 'TemplateLiteralNode' is not assignable to parameter of type 'Node'.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(65,66): error TS2345: Argument of type 'TemplateLiteralNode' is not assignable to parameter of type 'Node'.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(70,27): error TS2345: Argument of type 'any[] | readonly any[]' is not assignable to parameter of type 'Node[]'.
The type 'readonly any[]' is 'readonly' and cannot be assigned to the mutable type 'Node[]'.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormattedContentBuilder.js(47,39): error TS2339: Property 'peekLast' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(43,13): error TS1345: An expression of type 'void' cannot be tested for truthiness
node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(44,24): error TS2339: Property 'token' does not exist on type 'void'.
Expand Down Expand Up @@ -6345,8 +6347,23 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn_loo
node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn_loose.js(258,55): error TS2339: Property 'end' does not exist on type 'true'.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn_loose.js(1365,5): error TS2339: Property 'next' does not exist on type 'LooseParser'.
node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn_loose.js(1366,12): error TS2339: Property 'parseTopLevel' does not exist on type 'LooseParser'.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(16,32): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(16,52): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(98,63): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(101,36): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(176,58): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(178,58): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(180,66): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(198,58): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(200,58): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARFormat.js(261,66): error TS2349: This expression is not callable.
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(26,11): error TS2403: Subsequent variable declarations must have the same type. Variable 'page' must be of type 'any', but here has type 'HARPage'.
node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(46,5): error TS2322: Type 'Date' is not assignable to type 'number'.
node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(320,70): error TS2339: Property 'heap_profiler' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(321,35): error TS2339: Property 'heap_profiler' does not exist on type 'any[]'.
Expand Down Expand Up @@ -12646,6 +12663,8 @@ node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(106,33): error
node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(107,25): error TS2339: Property 'checked' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(119,27): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(133,24): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(139,59): error TS2345: Argument of type 'any[] | readonly any[]' is not assignable to parameter of type '{ text: string; value: any; raw: boolean; }[]'.
The type 'readonly any[]' is 'readonly' and cannot be assigned to the mutable type '{ text: string; value: any; raw: boolean; }[]'.
node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(155,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(15,5): error TS2322: Type 'Multimap<string | K, string | V>.Multimap<string | K, string | V>' is not assignable to type 'Multimap<string, string>'.
Type 'string | K' is not assignable to type 'K'.
Expand Down
2 changes: 2 additions & 0 deletions tests/baselines/reference/user/enhanced-resolve.log
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ node_modules/enhanced-resolve/lib/Resolver.js(189,18): error TS2339: Property 'p
node_modules/enhanced-resolve/lib/Resolver.js(210,13): error TS2339: Property 'details' does not exist on type 'Error'.
node_modules/enhanced-resolve/lib/Resolver.js(211,13): error TS2339: Property 'missing' does not exist on type 'Error'.
node_modules/enhanced-resolve/lib/Resolver.js(262,20): error TS2339: Property 'recursion' does not exist on type 'Error'.
node_modules/enhanced-resolve/lib/ResolverFactory.js(331,17): error TS2339: Property 'push' does not exist on type 'any[] | readonly any[]'.
Property 'push' does not exist on type 'readonly any[]'.
node_modules/enhanced-resolve/lib/concord.js(80,30): error TS2531: Object is possibly 'null'.
node_modules/enhanced-resolve/lib/concord.js(81,17): error TS2531: Object is possibly 'null'.

Expand Down
Loading

0 comments on commit aa4f951

Please sign in to comment.