![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
![Part 1: Configuring a ReactJS Typescript project with .editorconfig, Eslint e Prettier - DEV Community 👩💻👨💻 Part 1: Configuring a ReactJS Typescript project with .editorconfig, Eslint e Prettier - DEV Community 👩💻👨💻](https://res.cloudinary.com/practicaldev/image/fetch/s--WrY-xgSC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ra4fa8qndlojqcez9qym.png)
Part 1: Configuring a ReactJS Typescript project with .editorconfig, Eslint e Prettier - DEV Community 👩💻👨💻
![Plugin doesn't check .ts and .tsx files out of box? · Issue #355 · typescript-eslint/typescript-eslint · GitHub Plugin doesn't check .ts and .tsx files out of box? · Issue #355 · typescript-eslint/typescript-eslint · GitHub](https://user-images.githubusercontent.com/141330/54431723-71336100-4727-11e9-8f6a-1c3a2e859f6d.png)
Plugin doesn't check .ts and .tsx files out of box? · Issue #355 · typescript-eslint/typescript-eslint · GitHub
Type annotations can only be used in TypeScript files.ts(8010) on React-Native CLI Startup · Issue #29123 · facebook/react-native · 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/28547570-55741cdc-7084-11e7-8856-dd1cc9a1726c.png)
Type aliases can be used only in a .ts file' error popping up in Flow enabled files · Issue #15171 · microsoft/vscode · 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/tMrjK.png)