![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)
Couldn't resolve `'types' can only be used in a .ts file. Vetur(8010)` · Issue #1347 · vuejs/vetur · GitHub
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
![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)