394ee31a56
* Fix cross-file merge of assignment decl valueDeclaration Previously mergeSymbol in the checker always updated valueDeclaration if target.valueDeclaration was an assignment declaration. The binder only updates target.valueDeclaration if it is an assignment declaration and source.valueDeclaration is *not* an assignment declaration. Now the checker behaves the same way as the binder. * Update baselines * Add a fix for #27099 Makes commonjs merge with globals when appropriate. * Add a separate jsGlobalAugmentations table Instead of trying to filter these augmentations out of the normal symbol table of commonjs modules.
22 lines
361 B
TypeScript
22 lines
361 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
|
|
// @Filename: bug26877.js
|
|
/** @param {Emu.D} x */
|
|
function ollKorrect(x) {
|
|
x._model
|
|
const y = new Emu.D()
|
|
const z = Emu.D._wrapperInstance;
|
|
}
|
|
Emu.D = class {
|
|
constructor() {
|
|
this._model = 1
|
|
}
|
|
}
|
|
|
|
// @Filename: second.js
|
|
var Emu = {}
|
|
/** @type {string} */
|
|
Emu.D._wrapperInstance;
|
|
|