![visual studio code - "'public' can only be used in a .ts file" in typescript tslint react setup? - Stack Overflow visual studio code - "'public' can only be used in a .ts file" in typescript tslint react setup? - Stack Overflow](https://i.stack.imgur.com/VhwVd.png)
visual studio code - "'public' can only be used in a .ts file" in typescript tslint react setup? - Stack Overflow
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/vzC1Q.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/SvosR.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/H20ns.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
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
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/kFSB0.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![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/28547570-55741cdc-7084-11e7-8856-dd1cc9a1726c.png)