Type annotations can only be used in TypeScript files.ts(8010) on React-Native CLI Startup · Issue #29123 · facebook/react-native · GitHub
![Couldn't resolve `'types' can only be used in a .ts file. Vetur(8010)` · Issue #1347 · vuejs/vetur · GitHub Couldn't resolve `'types' can only be used in a .ts file. Vetur(8010)` · Issue #1347 · vuejs/vetur · GitHub](https://user-images.githubusercontent.com/38882716/60612989-ef199600-9e04-11e9-948a-381d6c27e7f6.png)
Couldn't resolve `'types' can only be used in a .ts file. Vetur(8010)` · Issue #1347 · vuejs/vetur · GitHub
![Type annotations can only be used in TypeScript files.ts(8010) on React-Native CLI Startup · Issue #29123 · facebook/react-native · GitHub Type annotations can only be used in TypeScript files.ts(8010) on React-Native CLI Startup · Issue #29123 · facebook/react-native · GitHub](https://user-images.githubusercontent.com/35485762/84629531-17ac7a00-af08-11ea-97aa-4d6bb5cabd56.png)
Type annotations can only be used in TypeScript files.ts(8010) on React-Native CLI Startup · Issue #29123 · facebook/react-native · GitHub
![ts] 'types' can only be used in a .ts file" Error in TS file · Issue #49639 · microsoft/vscode · GitHub ts] 'types' can only be used in a .ts file" Error in TS file · Issue #49639 · microsoft/vscode · GitHub](https://user-images.githubusercontent.com/10254377/39889025-aaf4b08a-5464-11e8-93bd-3304a5cee03c.png)
ts] 'types' can only be used in a .ts file" Error in TS file · Issue #49639 · microsoft/vscode · GitHub
![Type aliases can be used only in a .ts file' error popping up in Flow enabled files · Issue #15171 · microsoft/vscode · GitHub Type aliases can be used only in a .ts file' error popping up in Flow enabled files · Issue #15171 · microsoft/vscode · GitHub](https://user-images.githubusercontent.com/1685700/28547584-639647c2-7084-11e7-952a-ba525e7d60a2.png)