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
Errors with "Import declaration conflicts with local declaration of 'A'."
Expected behavior:
Codefix that adds an alias for X, then renames all occurences in the module:
import{XasXX}from'x'exporttypeX=XXletx: X
Actual behavior:
No codefix, and renaming X incorrectly renames the x.X in addition to the imported identifier. (in Emacs at least -- I think VS Code behaves better)
It's probably possible to codefix this automatically in all cases, but the 3.7-urgent one is one where there is also an export type X = X.
@andrewbranch I'll take this for now but let's compare notes about 3.7-beta load to figure out who does it.
The text was updated successfully, but these errors were encountered:
Errors with "Import declaration conflicts with local declaration of 'A'."
Expected behavior:
Codefix that adds an alias for
X
, then renames all occurences in the module:Actual behavior:
No codefix, and renaming
X
incorrectly renames thex.X
in addition to the imported identifier. (in Emacs at least -- I think VS Code behaves better)It's probably possible to codefix this automatically in all cases, but the 3.7-urgent one is one where there is also an
export type X = X
.@andrewbranch I'll take this for now but let's compare notes about 3.7-beta load to figure out who does it.
The text was updated successfully, but these errors were encountered: