2 ms·
You can type the real name, import it with autocomplete, then rename the symbol (f2), which creates the alias.
by eddd-ddde 2y ago
You can type the real name, import it with autocomplete, then rename the symbol (f2), which creates the alias.
- eyelidlessness 2y agoI should’ve been more clear that I meant import specifier aliases. Eg in TypeScript, this is often determined by `paths` in tsconfig.json. It may also be controlled by `imports` in package.json, or any number of other tools and configs.