mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
Better fix for bogus duplicate identifier in module exports (#24491)
This commit is contained in:
committed by
GitHub
parent
fc3e88e26f
commit
22cdff59e4
8
tests/cases/conformance/salsa/moduleExportAlias4.ts
Normal file
8
tests/cases/conformance/salsa/moduleExportAlias4.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// @checkJs: true
|
||||
// @allowJS: true
|
||||
// @noEmit: true
|
||||
// @Filename: bug24024.js
|
||||
// #24024
|
||||
var wat = require('./bug24024')
|
||||
module.exports = class C {}
|
||||
module.exports.D = class D { }
|
||||
Reference in New Issue
Block a user