Feature can only be used in a .ts file." when switching the language mode to TypeScript in a .js file · Issue #9199 · microsoft/vscode · GitHub
![A comprehensive guide to “Module System” in TypeScript (with examples) | by Uday Hiwarale | JsPoint | Medium A comprehensive guide to “Module System” in TypeScript (with examples) | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1400/1*HKTXPXM6l-OMXoRdGLHmAQ.png)
A comprehensive guide to “Module System” in TypeScript (with examples) | by Uday Hiwarale | JsPoint | Medium
d.ts file not included in if tsconfig.json present without files specified, and d.ts file is in a sub-directory and has another non-d.ts named file present · Issue #8987 · microsoft/TypeScript · GitHub
![files are not scoped if they don't contain at least one export or import statement · Issue #18232 · microsoft/TypeScript · GitHub files are not scoped if they don't contain at least one export or import statement · Issue #18232 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/1223799/30005251-87e5530a-90de-11e7-8a7b-3c9fcc2773a7.png)
files are not scoped if they don't contain at least one export or import statement · Issue #18232 · microsoft/TypeScript · GitHub
typescript-test-sources/diagnosticMessages.json at master · SonarSource/ typescript-test-sources · 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)