Type aliases can only be used in TypeScript files.ts(8008)" in .js files · Issue #37 · sehyunchung/til · GitHub
![Exploring the world of “Generics” (generic data types) in TypeScript | by Uday Hiwarale | JsPoint | Medium Exploring the world of “Generics” (generic data types) in TypeScript | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1200/1*--iitTGWwqZNnkOfen0yng.png)
Exploring the world of “Generics” (generic data types) in TypeScript | by Uday Hiwarale | JsPoint | Medium
Type aliases can be used only in a .ts file' error popping up in Flow enabled files · Issue #15171 · microsoft/vscode · GitHub
![telegram pták čisticí prostředek type alias can only be used in a ts file Velvyslanec ubrousek háček telegram pták čisticí prostředek type alias can only be used in a ts file Velvyslanec ubrousek háček](https://user-images.githubusercontent.com/30265843/40052023-6c38380a-5845-11e8-8447-7c71e21a2e84.png)
telegram pták čisticí prostředek type alias can only be used in a ts file Velvyslanec ubrousek háček
![Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1400/1*DDnRlPV8YCrjBtKff89XBA.png)