-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Milestone
Description
π Search Terms
"rename namespace const enum","const enum in namespace"
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about "enum"
β― Playground Link
π» Code
// rename this namespace
namespace test {
export const enum E {
A = 'a'
}
}
const a: test.E = test.E.A;π Actual behavior
Rename test to test1 via "Rename Symbol" or "F2".
// rename this namespace
namespace test1 {
export const enum E {
A = 'a'
}
}
const a: test1.E = test.E.A; // this value remains unchangedπ Expected behavior
// rename this namespace
namespace test1 {
export const enum E {
A = 'a'
}
}
const a: test1.E = test1.E.A;Additional information about the issue
No response