I have set up a node.js project where I want to use VS-Code+Typescript. If I use plain Javascript intellisense is working fine an VS-Code even loads Typescript defintions from the cache (e.g. ~/.cache/typescript/2.5/node_modules/@types/rethinkdb/index.d.ts). But in .ts files this doesn't work at all.
.js file (instellisense working)
.ts file (intellisense not working)
Both files are in the same folder. My tsconfig.json looks like:
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"sourceMap": true,
"watch": true
}
}
Am I missing a configuration option or something?