Sabuncu
Sabuncu

Reputation: 5274

IntelliSense problem in VS Code with JavaScript file when entering "process" keyword

I have an empty file named "ask.js". When I type "process" and hit Enter, it autocompletes to ProcessInstruction:

enter image description here

However, what I want to enter is process.stdout.write("Hello "); How can I get it to do this?

I am running the latest version 1.29 on Windows 10, and do not have any JavaScript-specific extensions installed.

Upvotes: 0

Views: 78

Answers (1)

Nurbol Alpysbayev
Nurbol Alpysbayev

Reputation: 21941

You should install typings for node

npm install --save-dev @types/node

Upvotes: 2

Related Questions