I'm not sure if this feature request is valid so just wanted to see what you think.
Let's say I have a react component called History.
As it happens there also exists global declare var History in lib.dom.d.ts
It would be nice that when using History in my module I could use CodeFix import action (Cmd+.) to be able to import my own component if there is no such local import. CodeFix bulb / shortcut keyboard is very discreet so there wouldn't be any worry of noise.
And I'm not sure how many other such cases could exist
I'm not sure if this feature request is valid so just wanted to see what you think.
Let's say I have a react component called
History.As it happens there also exists global
declare var Historyinlib.dom.d.tsIt would be nice that when using
Historyin my module I could use CodeFix import action (Cmd+.) to be able to import my own component if there is no such local import. CodeFix bulb / shortcut keyboard is very discreet so there wouldn't be any worry of noise.And I'm not sure how many other such cases could exist