Closed
Description
From @shepelevstas on April 26, 2018 5:33
Version 1.22.2
Commit 3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
Date 2018-04-12T17:28:16.777Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture ia32
To reproduce:
CMD
md test
cd test
md src
npm init -y
npm i @types/node
tsc --init
code . --disable-extensions
//tsconfig.json
{
// these are default
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"strict": true,
"esModuleInterop": true
},
// additional
"files": [
"./node_modules/@types/node/index.d.ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
]
}
//src/index.ts
const fs = require('fs')
var dirList = fs.| //<- **_NO INTELLISENSE_**
Or maybe I'm doing it wrong?
Copied from original issue: microsoft/vscode#48731