Aliases can be specified in TypeScript’s import
You can use as in the TypeScript import statement for aliases.
import { hoge as HOGE } from '~~'
You can use an alias to work around it if it is the same class in different ts files or something.
I noticed this when I accidentally bumped into a class defined in the lib.dom.d.ts file in Angular.
![株式会社CONFRAGE](https://i0.wp.com/confrage.jp/wp-content/uploads/2018/08/aaaaaaaaa-1.jpg?resize=100%2C100&ssl=1)
コメント