I have TS installed and my package.json looks like:
{
"name": "blueapex",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc --build",
"start": "node ./dist/index.js",
"start:dev": "nodemon ./src/index.ts"
},
"author": "X X",
"license": "ISC",
"devDependencies": {
"@types/node": "^22.10.7",
"nodemon": "^3.1.9",
"typescript": "^5.7.3"
}
}
However, when try to work with the http module I do not get Intellisense despite restarting the TS server in Visual Studio Code.
import * as http from 'http';
http.createServer((req, res) => {
}).listen(8080);
After typing colon after req the intellisense doesn't work.
Restarted the TS server but it didn't help.