![The 'const' modifier can only be used in TypeScript files · Issue #297 · zero-to-mastery/book-tracker · GitHub The 'const' modifier can only be used in TypeScript files · Issue #297 · zero-to-mastery/book-tracker · GitHub](https://user-images.githubusercontent.com/65058877/175096784-835615fd-4e73-49a5-b7b4-2fe736de1376.png)
The 'const' modifier can only be used in TypeScript files · Issue #297 · zero-to-mastery/book-tracker · 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/vzC1Q.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![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/ykbxU.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/tMrjK.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
Type annotations can only be used in TypeScript files.ts(8010) on React-Native CLI Startup · Issue #29123 · facebook/react-native · GitHub
![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
![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/nvUxm.png)
visual studio code - "'public' can only be used in a .ts file" in typescript tslint react setup? - Stack Overflow
![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)