mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
784 B
Plaintext
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))
|
|
|
|
|