Files
tsgo/testdata/baselines/reference/submodule/conformance/globalMergeWithCommonJSAssignmentDeclaration.symbols

20 lines
784 B
Plaintext

//// [tests/cases/conformance/salsa/globalMergeWithCommonJSAssignmentDeclaration.ts] ////
=== bug27099.js ===
window.name = 1;
>window.name : Symbol(Window.name, Decl(lib.dom.d.ts, --, --))
>window : Symbol(window, Decl(lib.dom.d.ts, --, --))
>name : Symbol(Window.name, Decl(lib.dom.d.ts, --, --))
window.console; // should not have error: Property 'console' does not exist on type 'typeof window'.
>window.console : Symbol(console, Decl(lib.dom.d.ts, --, --))
>window : Symbol(window, Decl(lib.dom.d.ts, --, --))
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
module.exports = 'anything';
>module.exports : Symbol(exports, Decl(bug27099.js, 0, 0))
>module : Symbol(module, Decl(bug27099.js, 0, 0))
>exports : Symbol(exports, Decl(bug27099.js, 0, 0))