-
Notifications
You must be signed in to change notification settings - Fork 12.8k
🤖 User test baselines have changed for refs/heads/master #34603
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
🤖 User test baselines have changed for refs/heads/master #34603
Conversation
549b4ec
to
bc41f55
Compare
Type 'string' is not assignable to type 'object | object[]'. | ||
lib/FlagDependencyExportsPlugin.js(113,27): error TS2339: Property 'setUnknownExportsProvided' does not exist on type 'typeof ExportsInfo'. | ||
lib/FlagDependencyExportsPlugin.js(120,44): error TS2339: Property 'getExportInfo' does not exist on type 'typeof ExportsInfo'. | ||
lib/FlagDependencyExportsPlugin.js(128,44): error TS2339: Property 'getExportInfo' does not exist on type 'typeof ExportsInfo'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolving the class type instead of the instance type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed #34671 to track this
@@ -3,90 +3,23 @@ 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. | |||
node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'. | |||
node_modules/bluebird/js/release/call_get.js(11,24): error TS2339: Property 'canEvaluate' does not exist on type 'typeof ret'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fails to import via require
, not sure why yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember this now:
// @filename: first.js
var ret = {
global: this,
isClass: true
}
module.exports = ret
// @filename: test.js
var o = require('./first')
o./**/
this
is a reference to the module, which is then exported, so this reference is circular. My simplification of type reference resolution stopped eagerly resolving this type, but then my fix started again. It would be nicer to not eagerly resolve, but not required. This is an OK break -- and goes back to the way it was in 3.6.
@@ -84,6 +84,7 @@ node_modules/chrome-devtools-frontend/front_end/Tests.js(988,10): error TS2554: | |||
node_modules/chrome-devtools-frontend/front_end/Tests.js(1033,32): error TS2339: Property 'timeline' does not exist on type 'any[]'. | |||
node_modules/chrome-devtools-frontend/front_end/Tests.js(1040,30): error TS2339: Property 'timeline' does not exist on type 'any[]'. | |||
node_modules/chrome-devtools-frontend/front_end/Tests.js(1084,27): error TS2339: Property 'timeline' does not exist on type 'any[]'. | |||
node_modules/chrome-devtools-frontend/front_end/Tests.js(1123,38): error TS2339: Property 'isServiceProject' does not exist on type 'typeof Project'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as webpack, resolving typeof X not X
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed #34685 to track this since the fix is not the same as webpack.
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