Skip to content

🤖 User test baselines have changed for refs/heads/master #36678

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

Conversation

typescript-bot
Copy link
Collaborator

This test run was triggerd by a request on #33716
Please review the diff and merge if no changes are unexpected.
You can view the build log here.

cc @microsoft/typescript

@typescript-bot typescript-bot force-pushed the user-update-Microsoft-20200105-refs/heads/master branch from a2f374b to 0ba5ea2 Compare February 7, 2020 18:22
@typescript-bot typescript-bot mentioned this pull request Feb 7, 2020
@typescript-bot typescript-bot force-pushed the user-update-Microsoft-20200105-refs/heads/master branch from 0ba5ea2 to 64452e8 Compare February 7, 2020 18:50
@sandersn
Copy link
Member

Very likely a result of #36665

Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Almost all the errors are from improved reporting on erroneous calls.
Good: more follow-on errors
Bad: errors on subsequent parameters are squelched, even those deep inside function expressions.
Ugly: I didn't investigate the office-ui-fabric errors.

@@ -15,8 +15,6 @@ node_modules/bcryptjs/src/bcrypt/impl.js(658,23): error TS2345: Argument of type
Type 'undefined' is not assignable to type 'number[]'.
node_modules/bcryptjs/src/bcrypt/impl.js(664,31): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
node_modules/bcryptjs/src/bcrypt/impl.js(666,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/src/bcrypt/impl.js(666,39): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
Copy link
Member

Choose a reason for hiding this comment

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

not sure why we now stop giving both errors on a call with two errors

@@ -6,8 +6,10 @@ node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noC
node_modules/bluebird/js/release/debuggability.js(225,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
node_modules/bluebird/js/release/debuggability.js(232,26): error TS2339: Property 'detail' does not exist on type 'Event'.
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '["multipleResolves", MultipleResolveListener]'.
node_modules/bluebird/js/release/debuggability.js(301,56): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Process' is not assignable to type 'boolean'.
Copy link
Member

Choose a reason for hiding this comment

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

this new error is much better.

@@ -126,8 +126,6 @@ node_modules/lodash/_createHybrid.js(64,15): error TS2454: Variable 'holdersCoun
node_modules/lodash/_createHybrid.js(65,31): error TS2532: Object is possibly 'undefined'.
node_modules/lodash/_createHybrid.js(68,9): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
Type 'string' is not assignable to type 'Function'.
node_modules/lodash/_createHybrid.js(68,46): error TS2339: Property 'placeholder' does not exist on type '(...args: any[]) => any'.
Copy link
Member

Choose a reason for hiding this comment

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

same -- subsequent errors are not reported

@@ -53,6 +53,8 @@ lib/Page.js(93,33): error TS2345: Argument of type 'CDPSession' is not assignabl
Type 'T' is not assignable to type 'symbol'.
Type 'string | number | symbol' is not assignable to type 'symbol'.
Type 'string' is not assignable to type 'symbol'.
lib/Page.js(94,42): error TS2345: Argument of type 'Worker' is not assignable to parameter of type 'Worker'.
Copy link
Member

Choose a reason for hiding this comment

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

from an update in puppeteer. (this error is from a bug, but it's a known bug)

@@ -387,6 +387,8 @@ node_modules/npm/lib/install.js(948,8): error TS2454: Variable 'previousPath' is
node_modules/npm/lib/install.js(985,53): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/install.js(1007,53): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'.
node_modules/npm/lib/install/access-error.js(4,60): error TS2554: Expected 0-1 arguments, but got 2.
node_modules/npm/lib/install/access-error.js(5,12): error TS2339: Property 'code' does not exist on type 'Error'.
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure why we didn't issue an error here before. It might be because of the erroneous call on the previous line, but the type is reported as Error, not any.

@@ -44,7 +49,6 @@ node_modules/uglify-js/lib/compress.js(3235,56): error TS2531: Object is possibl
node_modules/uglify-js/lib/compress.js(3276,42): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3355,33): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(3762,38): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3788,29): error TS2322: Type '"f"' is not assignable to type 'boolean'.
Copy link
Member

Choose a reason for hiding this comment

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

errors inside the function expression are squelched because the signature didn't expect arguments. this seems bad.

@sandersn sandersn closed this Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants