mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 00:36:29 -05:00
Fix export of enum with same-named member (#55070)
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user