A bug in checkSpecialAssignment added bogus duplicate identifier errors when using module.exports assignment to export a class. This commit fixes that.
10 lines
129 B
TypeScript
10 lines
129 B
TypeScript
// @checkJs: true
|
|
// @allowJS: true
|
|
// @noEmit: true
|
|
// @Filename: bug24062.js
|
|
// #24062
|
|
class C {
|
|
}
|
|
module.exports = {
|
|
C
|
|
};
|