mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
711934526c
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
20 lines
837 B
Plaintext
20 lines
837 B
Plaintext
//// [tests/cases/compiler/numericExportNameDeclaration.ts] ////
|
|
|
|
=== bug.js ===
|
|
exports[1] = 2;
|
|
>exports : Symbol(exports, Decl(bug.js, 0, 0))
|
|
>1 : Symbol(1, Decl(bug.js, 0, 0), Decl(bug.js, 0, 15), Decl(bug.js, 1, 22))
|
|
|
|
module.exports[1] = 2;
|
|
>module.exports : Symbol(exports, Decl(bug.js, 0, 0))
|
|
>module : Symbol(module, Decl(bug.js, 0, 0))
|
|
>exports : Symbol(exports, Decl(bug.js, 0, 0))
|
|
>1 : Symbol(1, Decl(bug.js, 0, 0), Decl(bug.js, 0, 15), Decl(bug.js, 1, 22))
|
|
|
|
Object.defineProperty(exports, 1, {});
|
|
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
|
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
|
|
>exports : Symbol(exports, Decl(bug.js, 0, 0))
|
|
|