Files
tsgo/testdata/tests/cases/compiler/numericExportNameDeclaration.ts
711934526c Handle numeric literal export names in declaration emit (#3919)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-05-18 17:38:27 +00:00

9 lines
170 B
TypeScript

// @declaration: true
// @emitDeclarationOnly: true
// @allowJs: true
// @filename: bug.js
exports[1] = 2;
module.exports[1] = 2;
Object.defineProperty(exports, 1, {});