Skip to content

🤖 User test baselines have changed for revertAwaitedType #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: user-baseline-updates
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 87 additions & 20 deletions tests/baselines/reference/docker/office-ui-fabric.log

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions tests/baselines/reference/docker/vscode.log
Original file line number Diff line number Diff line change
@@ -4,39 +4,39 @@ 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
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(222,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(225,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(229,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/contrib/search/common/searchModel.ts(609,21): Type 'FileMatch | FileMatch[]' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(470,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/parts/quickinput/browser/quickInputList.ts(474,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(45,45): Property 'msTouchAction' does not exist on type 'CSSStyleDeclaration'. Did you mean 'touchAction'?
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(46,45): Property 'msContentZooming' does not exist on type 'CSSStyleDeclaration'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(249,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(222,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(225,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(229,7): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to actually be due to microsoft#36539

Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; }' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData>'.
Types of property 'ariaProvider' are incompatible.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; } | undefined' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>> | undefined'.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; }' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>>'.
Types of property 'isChecked' are incompatible.
Type '((e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined) | undefined' is not assignable to type '((element: IAsyncDataTreeNode<TInput, T>) => boolean) | undefined'.
Type '(e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined' is not assignable to type '(element: IAsyncDataTreeNode<TInput, T>) => boolean'.
Type 'boolean | undefined' is not assignable to type 'boolean'.
Type 'undefined' is not assignable to type 'boolean'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(216,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/contrib/search/common/searchModel.ts(609,21): Type 'FileMatch | FileMatch[]' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(470,5): Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/parts/quickinput/browser/quickInputList.ts(474,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(45,45): Property 'msTouchAction' does not exist on type 'CSSStyleDeclaration'. Did you mean 'touchAction'?
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(46,45): Property 'msContentZooming' does not exist on type 'CSSStyleDeclaration'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(249,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.
Type '{ collapseByDefault: true; identityProvider: { getId(el: IAsyncDataTreeNode<TInput, T>): { toString(): string; }; } | undefined; dnd: AsyncDataTreeNodeListDragAndDrop<TInput, T> | undefined; ... 31 more ...; horizontalScrolling?: boolean | undefined; }' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData>'.
Types of property 'ariaProvider' are incompatible.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; } | undefined' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>> | undefined'.
Type '{ getPosInSet(el: IAsyncDataTreeNode<TInput, T>, index: number): number; getSetSize(el: IAsyncDataTreeNode<TInput, T>, index: number, listLength: number): number; getRole: (el: IAsyncDataTreeNode<...>) => string; isChecked: ((e: IAsyncDataTreeNode<...>) => boolean | undefined) | undefined; }' is not assignable to type 'IAriaProvider<IAsyncDataTreeNode<TInput, T>>'.
Types of property 'isChecked' are incompatible.
Type '((e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined) | undefined' is not assignable to type '((element: IAsyncDataTreeNode<TInput, T>) => boolean) | undefined'.
Type '(e: IAsyncDataTreeNode<TInput, T>) => boolean | undefined' is not assignable to type '(element: IAsyncDataTreeNode<TInput, T>) => boolean'.
Type 'boolean | undefined' is not assignable to type 'boolean'.
Type 'undefined' is not assignable to type 'boolean'.
[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(216,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/tree/asyncDataTree.ts(215,2): boolean | undefined; } | undefined' is not assignable to type 'IObjectTreeOptions<IAsyncDataTreeNode<TInput, T>, TFilterData> | undefined'.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.



Standard error:
[XX:XX:XX] 'compile' errored after
[XX:XX:XX] Error: Found 10 errors
[XX:XX:XX] Error: Found 3 errors
at Stream.<anonymous> (/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)
14 changes: 7 additions & 7 deletions tests/baselines/reference/docker/vue-next.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Exit Code: 0
Standard output:

> @X.X.X-alpha.9 build /vue-next
> @X.X.X-alpha.10 build /vue-next
> node scripts/build.js "--types"
Rolling up type definitions for compiler-core...
Writing: /vue-next/temp/compiler-core.api.json
@@ -75,10 +75,10 @@ created packages/reactivity/dist/reactivity.global.prod.js in ?s
/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm.prod.js...
created packages/reactivity/dist/reactivity.esm.prod.js in ?s
/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/apiOptions.ts(137,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiOptions.ts(143,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
packages/runtime-core/src/apiOptions.ts
Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Error: /vue-next/packages/runtime-core/src/apiOptions.ts(143,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
at error (/vue-next/node_modules/rollup/dist/shared/node-entry.js:5400:30)
at throwPluginError (/vue-next/node_modules/rollup/dist/shared/node-entry.js:11878:12)
@@ -90,12 +90,12 @@ Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error
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:234:5)
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:342d46d,NODE_ENV:production,TARGET:runtime-core,TYPES:true
(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:925ba6b,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 processTicksAndRejections (internal/process/task_queues.js:97:5)
at async build (/vue-next/scripts/build.js:72:3)
at async buildAll (/vue-next/scripts/build.js:51:5)
at async run (/vue-next/scripts/build.js:41: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)
(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.
16 changes: 16 additions & 0 deletions tests/baselines/reference/user/TypeScript-Node-Starter.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Exit Code: 1
Standard output:
node_modules/@types/bluebird/index.d.ts(61,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'.
Type '{ <U>(onFulfill?: (value: R) => Resolvable<U>, onReject?: (error: any) => Resolvable<U>): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: (value: R) => Resolvable<TResult1>, onrejected?: (reason: any) => Resolvable<...>): Bluebird<...>; }' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: (value: awaited R) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'.
Types of parameters 'onFulfill' and 'onfulfilled' are incompatible.
Types of parameters 'value' and 'value' are incompatible.
Type 'R' is not assignable to type 'awaited R'.
node_modules/@types/bluebird/index.d.ts(62,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'.
Type '{ <U>(onFulfill?: (value: R) => Resolvable<U>, onReject?: (error: any) => Resolvable<U>): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: (value: R) => Resolvable<TResult1>, onrejected?: (reason: any) => Resolvable<...>): Bluebird<...>; }' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: (value: awaited R) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'.
node_modules/@types/jquery/misc.d.ts(1205,15): error TS2430: Interface 'PromiseBase<TR, TJ, TN, UR, UJ, UN, VR, VJ, VN, SR, SJ, SN>' incorrectly extends interface '_Promise<TR>'.
Types of property 'then' are incompatible.
Type '{ <ARD = never, AJD = never, AND = never, BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, RRD = never, RJD = never, RND = never, ARF = never, AJF = never, ANF = never, BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, RRF = never, RJF = never, RNF = never, AR...' is not assignable to type '<TResult1 = TR, TResult2 = never>(onfulfilled?: (value: TR) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => _Promise<...>'.



Standard error:
17 changes: 9 additions & 8 deletions tests/baselines/reference/user/chrome-devtools-frontend.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Exit Code: 1
Standard output:
../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'.
../../../../node_modules/@types/node/globals.d.ts(168,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'.
../../../../node_modules/@types/node/globals.d.ts(235,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.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(78,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
@@ -12,7 +12,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322:
node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(283,12): error TS2554: Expected 2-3 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'.
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 870 more.
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 871 more.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,49): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable.
@@ -10234,6 +10234,7 @@ node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(323,3)
Type 'T' is not assignable to type 'SecurityModel'.
node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(375,25): error TS2694: Namespace 'Protocol' has no exported member 'Security'.
node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(376,25): error TS2694: Namespace 'Protocol' has no exported member 'Network'.
node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(377,23): error TS1099: Type argument list cannot be empty.
node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(389,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(416,59): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(440,24): error TS2694: Namespace 'Protocol' has no exported member 'Security'.
@@ -10408,9 +10409,9 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(38,18):
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(62,16): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(78,21): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(79,19): error TS2339: Property 'createTextChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(82,29): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(83,29): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(84,29): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(82,29): error TS2339: Property 'style' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(83,29): error TS2339: Property 'style' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(84,29): error TS2339: Property 'style' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(87,24): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(88,24): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(89,24): error TS2339: Property 'style' does not exist on type 'Element'.
@@ -10419,11 +10420,11 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(91,24):
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(92,24): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(123,45): error TS2339: Property 'offsetWidth' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(123,85): error TS2339: Property 'offsetHeight' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(133,29): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(133,29): error TS2339: Property 'style' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(140,41): error TS2339: Property 'offsetWidth' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(141,42): error TS2339: Property 'offsetHeight' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(144,31): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(152,29): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(144,31): error TS2339: Property 'style' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(152,29): error TS2339: Property 'style' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(38,18): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(52,88): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(58,36): error TS2339: Property 'createChild' does not exist on type 'Element'.
26 changes: 26 additions & 0 deletions tests/baselines/reference/user/fp-ts.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Exit Code: 1
Standard output:
src/Task.ts(47,68): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'.
'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'.
src/Task.ts(121,35): error TS2345: Argument of type '(a: A) => B' is not assignable to parameter of type '(value: awaited A) => B | PromiseLike<B>'.
Types of parameters 'a' and 'value' are incompatible.
Type 'awaited A' is not assignable to type 'A'.
'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'.
src/Task.ts(123,72): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'.
'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'.
src/Task.ts(124,44): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'.
'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'.
src/Task.ts(136,59): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'.
'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'.
src/TaskEither.ts(160,16): error TS2322: Type 'Promise<Left<never> | Left<E> | Right<A> | Right<awaited A>>' is not assignable to type 'Promise<Either<E, A>>'.
Types of property 'then' are incompatible.
Type '<TResult1 = Left<never> | Left<E> | Right<A> | Right<awaited A>, TResult2 = never>(onfulfilled?: ((value: Left<never> | Left<E> | Right<A> | Right<awaited A>) => TResult1 | PromiseLike<...>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | ... 1 more ... | undefined) => Promise<...>' is not assignable to type '<TResult1 = Either<E, A>, TResult2 = never>(onfulfilled?: ((value: Either<E, A>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | ... 1 more ... | undefined) => Promise<...>'.
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible.
Types of parameters 'value' and 'value' are incompatible.
Type 'Left<never> | Left<E> | Right<A> | Right<awaited A>' is not assignable to type 'Either<E, A>'.
Type 'Right<awaited A>' is not assignable to type 'Either<E, A>'.
Type 'Right<awaited A>' is not assignable to type 'Right<A>'.



Standard error:
2 changes: 0 additions & 2 deletions tests/baselines/reference/user/lodash.log
Original file line number Diff line number Diff line change
@@ -85,8 +85,6 @@ node_modules/lodash/_cloneArrayBuffer.js(11,20): error TS2351: This expression i
Type 'Function' has no construct signatures.
node_modules/lodash/_cloneBuffer.js(4,69): error TS2339: Property 'nodeType' does not exist on type '(buffer: Buffer, isDeep?: boolean | undefined) => Buffer'.
node_modules/lodash/_cloneBuffer.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ "\"../../../tests/cases/user/lodash/node_modules/lodash/_cloneBuffer\"": (buffer: Buffer, isDeep?: boolean | undefined) => Buffer; }'.
node_modules/lodash/_cloneBuffer.js(29,56): error TS2351: This expression is not constructable.
Type 'Function' has no construct signatures.
node_modules/lodash/_createAggregator.js(19,60): error TS2554: Expected 0-1 arguments, but got 2.
node_modules/lodash/_createCompounder.js(20,24): error TS2554: Expected 3 arguments, but got 1.
node_modules/lodash/_createCtor.js(19,26): error TS2351: This expression is not constructable.
26 changes: 13 additions & 13 deletions tests/baselines/reference/user/npm.log
Original file line number Diff line number Diff line change
@@ -598,7 +598,7 @@ node_modules/npm/lib/npm.js(429,38): error TS2339: Property 'config' does not ex
node_modules/npm/lib/npm.js(439,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/npm.js(445,34): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/npm.js(460,13): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/npm.js(465,7): error TS2367: This condition will always return 'false' since the types 'Module | undefined' and '{ "\"../../../tests/cases/user/npm/node_modules/npm/lib/npm\"": typeof EventEmitter.EventEmitter; }' have no overlap.
node_modules/npm/lib/npm.js(465,7): error TS2367: This condition will always return 'false' since the types 'NodeModule | undefined' and '{ "\"../../../tests/cases/user/npm/node_modules/npm/lib/npm\"": typeof internal.EventEmitter; }' have no overlap.
node_modules/npm/lib/outdated.js(36,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/outdated.js(71,30): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/outdated.js(74,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
@@ -873,7 +873,7 @@ node_modules/npm/lib/utils/locker.js(28,20): error TS2339: Property 'config' doe
node_modules/npm/lib/utils/locker.js(29,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/utils/locker.js(65,15): error TS2339: Property 'code' does not exist on type 'Error'.
node_modules/npm/lib/utils/map-to-registry.js(98,45): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/utils/metrics-launch.js(6,5): error TS2367: This condition will always return 'false' since the types 'Module | undefined' and '{ "\"../../../tests/cases/user/npm/node_modules/npm/lib/utils/metrics-launch\"": () => ChildProcessWithoutNullStreams | undefined; }' have no overlap.
node_modules/npm/lib/utils/metrics-launch.js(6,5): error TS2367: This condition will always return 'false' since the types 'NodeModule | undefined' and '{ "\"../../../tests/cases/user/npm/node_modules/npm/lib/utils/metrics-launch\"": () => ChildProcessWithoutNullStreams | undefined; }' have no overlap.
node_modules/npm/lib/utils/metrics-launch.js(12,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/utils/metrics-launch.js(13,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/utils/metrics-launch.js(14,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
@@ -1190,7 +1190,7 @@ node_modules/npm/test/tap/ci-header.js(5,21): error TS2307: Cannot find module '
node_modules/npm/test/tap/ci.js(7,33): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/ci.js(10,23): error TS2307: Cannot find module 'tacks' or its corresponding type declarations.
node_modules/npm/test/tap/ci.js(11,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/circular-dep.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/circular-dep.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/circular-dep.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/circular-dep.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/config-basic.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
@@ -1232,7 +1232,7 @@ node_modules/npm/test/tap/debug-logs.js(3,20): error TS2307: Cannot find module
node_modules/npm/test/tap/debug-logs.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations.
node_modules/npm/test/tap/debug-logs.js(9,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'.
node_modules/npm/test/tap/dedupe-scoped.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/dedupe.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/dedupe.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/dedupe.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/dedupe.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/deprecate.js(1,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
@@ -1249,7 +1249,7 @@ node_modules/npm/test/tap/doctor.js(66,11): error TS2339: Property 'load' does n
node_modules/npm/test/tap/doctor.js(82,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'.
node_modules/npm/test/tap/doctor.js(86,34): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'.
node_modules/npm/test/tap/extraneous-dep-cycle-ls-ok.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/false-name.js(12,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/false-name.js(12,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/false-name.js(15,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/false-name.js(17,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/fetch-package-metadata.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
@@ -1324,15 +1324,15 @@ node_modules/npm/test/tap/install-at-locally.js(7,20): error TS2307: Cannot find
node_modules/npm/test/tap/install-bad-dep-format.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-bad-man.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-bin-null.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-only-development.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-cli-only-development.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-cli-only-development.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-only-production.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-cli-only-production.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-cli-only-production.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-only-shrinkwrap.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-cli-only-shrinkwrap.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-cli-only-shrinkwrap.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-production-nosave.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-production-nosave.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-production.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-cli-production.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-cli-production.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-unicode.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/install-cli-unicode.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
@@ -1371,9 +1371,9 @@ node_modules/npm/test/tap/install-save-prefix.js(46,23): error TS2345: Argument
node_modules/npm/test/tap/install-save-prefix.js(78,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
node_modules/npm/test/tap/install-save-prefix.js(110,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
node_modules/npm/test/tap/install-save-prefix.js(142,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
node_modules/npm/test/tap/install-scoped-already-installed.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-scoped-already-installed.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-scoped-already-installed.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-scoped-link.js(4,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-scoped-link.js(4,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-scoped-link.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations.
@@ -1385,7 +1385,7 @@ node_modules/npm/test/tap/install-shrinkwrapped-git.js(60,12): error TS2339: Pro
node_modules/npm/test/tap/install-shrinkwrapped-git.js(65,12): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'.
node_modules/npm/test/tap/install-shrinkwrapped-git.js(106,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'.
node_modules/npm/test/tap/install-test-cli-without-package-lock.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-windows-newlines.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/install-windows-newlines.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/install-windows-newlines.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/install-with-dev-dep-duplicate.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/install-with-dev-dep-duplicate.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
@@ -1754,7 +1754,7 @@ node_modules/npm/test/tap/umask-lifecycle.js(6,20): error TS2307: Cannot find mo
node_modules/npm/test/tap/uninstall-in-reverse.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/uninstall-in-reverse.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations.
node_modules/npm/test/tap/uninstall-in-reverse.js(28,14): error TS2555: Expected at least 4 arguments, but got 3.
node_modules/npm/test/tap/uninstall-link-clean.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'.
node_modules/npm/test/tap/uninstall-link-clean.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'.
node_modules/npm/test/tap/uninstall-link-clean.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
node_modules/npm/test/tap/uninstall-package.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations.
node_modules/npm/test/tap/uninstall-package.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations.
14 changes: 11 additions & 3 deletions tests/baselines/reference/user/puppeteer.log
Original file line number Diff line number Diff line change
@@ -14,7 +14,11 @@ lib/Accessibility.js(403,7): error TS2322: Type 'string | number | true' is not
lib/Accessibility.js(409,22): error TS2503: Cannot find namespace 'Protocol'.
lib/Browser.js(109,15): error TS2503: Cannot find namespace 'Protocol'.
lib/Browser.js(116,58): error TS2322: Type 'Promise<CDPSession>' is not assignable to type 'Promise<Puppeteer.CDPSession>'.
Type 'CDPSession' is not assignable to type 'Puppeteer.CDPSession'.
Types of property 'then' are incompatible.
Type '<TResult1 = CDPSession, TResult2 = never>(onfulfilled?: (value: CDPSession) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = Puppeteer.CDPSession, TResult2 = never>(onfulfilled?: (value: Puppeteer.CDPSession) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>'.
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible.
Types of parameters 'value' and 'value' are incompatible.
Type 'CDPSession' is not assignable to type 'Puppeteer.CDPSession'.
lib/Browser.js(141,15): error TS2503: Cannot find namespace 'Protocol'.
lib/Connection.js(149,14): error TS2503: Cannot find namespace 'Protocol'.
lib/Coverage.js(115,15): error TS2503: Cannot find namespace 'Protocol'.
@@ -74,8 +78,12 @@ lib/Page.js(1352,15): error TS2503: Cannot find namespace 'Protocol'.
lib/PipeTransport.js(19,17): error TS1003: Identifier expected.
lib/Target.js(23,15): error TS2503: Cannot find namespace 'Protocol'.
lib/Target.js(87,7): error TS2322: Type 'Promise<Worker | Worker>' is not assignable to type 'Promise<Worker>'.
Type 'Worker | Worker' is not assignable to type 'Worker'.
Type 'Worker' is not assignable to type 'Worker'. Two different types with this name exist, but they are unrelated.
Types of property 'then' are incompatible.
Type '<TResult1 = Worker | Worker, TResult2 = never>(onfulfilled?: (value: Worker | Worker) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = Worker, TResult2 = never>(onfulfilled?: (value: Worker) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'.
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible.
Types of parameters 'value' and 'value' are incompatible.
Type 'Worker | Worker' is not assignable to type 'Worker'.
Type 'Worker' is not assignable to type 'Worker'. Two different types with this name exist, but they are unrelated.
lib/Target.js(135,15): error TS2503: Cannot find namespace 'Protocol'.
lib/WebSocketTransport.js(19,17): error TS1003: Identifier expected.
lib/WebSocketTransport.js(32,72): error TS2345: Argument of type 'import("/puppeteer/puppeteer/node_modules/@types/ws/index")' is not assignable to parameter of type 'WebSocket'.
13 changes: 13 additions & 0 deletions tests/baselines/reference/user/soap.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Exit Code: 1
Standard output:
node_modules/@types/bluebird/index.d.ts(61,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'.
Type '{ <U>(onFulfill?: ((value: R) => Resolvable<U>) | undefined, onReject?: ((error: any) => Resolvable<U>) | undefined): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: ((value: R) => Resolvable<...>) | ... 1 more ... | undefined, onrejected?: ((reason: any) => Resolvable<...>) | ... 1 more ... | undefined)...' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: ((value: awaited R) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => PromiseLike<...>'.
Types of parameters 'onFulfill' and 'onfulfilled' are incompatible.
Type '((value: awaited R) => any) | null | undefined' is not assignable to type '((value: R) => any) | undefined'.
Type 'null' is not assignable to type '((value: R) => any) | undefined'.
node_modules/@types/bluebird/index.d.ts(62,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'.
Type '{ <U>(onFulfill?: ((value: R) => Resolvable<U>) | undefined, onReject?: ((error: any) => Resolvable<U>) | undefined): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: ((value: R) => Resolvable<...>) | ... 1 more ... | undefined, onrejected?: ((reason: any) => Resolvable<...>) | ... 1 more ... | undefined)...' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: ((value: awaited R) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => PromiseLike<...>'.



Standard error:
9 changes: 9 additions & 0 deletions tests/baselines/reference/user/ts-toolbelt.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Exit Code: 1
Standard output:
../../../../node_modules/@types/jquery/misc.d.ts(1205,15): error TS2430: Interface 'PromiseBase<TR, TJ, TN, UR, UJ, UN, VR, VJ, VN, SR, SJ, SN>' incorrectly extends interface '_Promise<TR>'.
Types of property 'then' are incompatible.
Type '{ <ARD = never, AJD = never, AND = never, BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, RRD = never, RJD = never, RND = never, ARF = never, AJF = never, ANF = never, BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, RRF = never, RJF = never, RNF = never, AR...' is not assignable to type '<TResult1 = TR, TResult2 = never>(onfulfilled?: ((value: TR) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => _Promise<...>'.



Standard error:
5 changes: 5 additions & 0 deletions tests/baselines/reference/user/webpack.log
Original file line number Diff line number Diff line change
@@ -4,6 +4,11 @@ lib/ExternalModule.js(305,28): error TS2554: Expected 1 arguments, but got 0.
lib/Stats.js(68,31): error TS2554: Expected 3 arguments, but got 2.
lib/library/SystemLibraryPlugin.js(127,35): error TS2554: Expected 1 arguments, but got 0.
lib/optimize/ConcatenatedModule.js(205,32): error TS2554: Expected 1 arguments, but got 0.
lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(36,15): error TS2304: Cannot find name 'Chunk'.
lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(37,15): error TS2304: Cannot find name 'DependencyTemplates'.
lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(38,15): error TS2304: Cannot find name 'RuntimeTemplate'.
lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(39,15): error TS2304: Cannot find name 'ModuleGraph'.
lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(40,15): error TS2304: Cannot find name 'ChunkGraph'.
tooling/format-file-header.js(151,34): error TS2556: Expected 1-2 arguments, but got 0 or more.