Methods from NodeJS.Global objects unresolved Follow
Hello! Like .floor from Math, .then from Promise....
Coding assistanse for Node.js is on
I can resolve Promise adding package promise-es6 in Node.js and NPM setting... But maybe here exist universal package(silver bullet) for this?
Please sign in to leave a comment.
Both then() and floor() should be resolved to definitions in plugins\JavaScriptLanguage\jsLanguageServicesImpl\external\lib.es5.d.ts; this library is enabled for all projects by default.
Does the issue persist after caches invalidation? Do you have tsconfig.json in your project? If yes, what does it look like?
Elena, thanks for help! File -> Invalidate Caches/Restart has solved my problem.