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 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
![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/TQRzB.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![How to Use ESLint to Write Elegant Code in JavaScript and TypeScript | by Lynn Kwong | Better Programming How to Use ESLint to Write Elegant Code in JavaScript and TypeScript | by Lynn Kwong | Better Programming](https://miro.medium.com/max/1400/1*ldl22IBumr4uXxWbPDeC8A.png)
How to Use ESLint to Write Elegant Code in JavaScript and TypeScript | by Lynn Kwong | Better Programming
![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/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/0CZnE.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/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/kFSB0.png)