We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module SomeModule { export class SomeClass {} } import M = SomeModule; // or import M = require(...) import C = M.SomeClass;
On the M identifier in M.SomeClass, getSymbolAtLocation returns the SomeModule module symbol, rather than the alias M to it.
M
M.SomeClass
SomeModule
This affects renaming, find references, and occurrence highlighting:
import M = ...
import C = M.SomeClass
The text was updated successfully, but these errors were encountered:
Yeah, rename on aliases seems to be extremely broken.
Sorry, something went wrong.
Do not resolve alias when getting symbol of import equal's right hand…
b8b38f3
… side Fixes #5501
sheetalkamat
No branches or pull requests
On the
M
identifier inM.SomeClass
, getSymbolAtLocation returns theSomeModule
module symbol, rather than the aliasM
to it.This affects renaming, find references, and occurrence highlighting:
M
inimport M = ...
, the secondM
will not be foundM
inimport C = M.SomeClass
, the firstM
will not be found, but the twoSomeModule
references will be found instead.The text was updated successfully, but these errors were encountered: