You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are other cases when string literal rename refactor (#39298) deosn't work
Example:
typeFoo='donald'|'joe'// allow to rename any of these valuesconstfoo: Foo='joe'// using string literal:consttemp: `hello ${Foo}` =`hello donald`
After literals rename:
Actual
typeFoo='donald duck'|'pizza joe'// allow me to rename any of these values// just declarationconstfoo: Foo='pizza joe '// this works// using string literalconsttemp: `hello ${Foo}` =`hello donald`// this doesn't work
Expected:
// using string literalconsttemp: `hello ${Foo}` =`hello donald duck`// should rename here too
typescript next 4.2.0-dev20201210
There are other cases when string literal rename refactor (#39298) deosn't work
Example:
After literals rename:
Actual
Expected:
Related:
#41489
#41923
The text was updated successfully, but these errors were encountered: