🤖 User test baselines have changed for refs/heads/master#34603
🤖 User test baselines have changed for refs/heads/master#34603typescript-bot wants to merge 1 commit intomicrosoft:masterfrom
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.
resolving the class type instead of the instance type
| 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.
fails to import via require, not sure why yet
There was a problem hiding this comment.
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.
same as webpack, resolving typeof X not X
There was a problem hiding this comment.
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