Fix export of enum with same-named member (#55070)

This commit is contained in:
Ron Buckton
2023-07-19 15:52:19 -04:00
committed by GitHub
parent 8f96638692
commit 97ef321fa0
4 changed files with 85 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
// @target: esnext
// @module: commonjs,system
// @noTypesAndSymbols: true
// https://github.com/microsoft/TypeScript/issues/55038
namespace A {
export const A = 0;
}
export { A }
enum B {
B
}
export { B }