Generally I want to write .js files with typescript instead of Flow. I configured the webpack to use ts-loader on js extension, and that works just fine. I use checkJs on tsconfig file and it check the js file fine.
However, VS Code shows an error the error on js files:
Type annotations can only be used in TypeScript files.
How can I make that error go away in VS Code?
