node.js - How do I generate d.ts file types when these errors are preventing it? -


when attempting generate typedefs file (named) globals.ts, seeing these errors. cannot find name 'dataview', 'map', 'set' , 'weakmap'. found 'weakmap' defined in lib.d.ts, that's not in project..

i'm running ts 1.5 [beta], suspect other fundamental typedef (missing) issue. please advise on find proper typedefs.

given:

dataview, map, set , weakmap es6 classes. compiler can't find them when target es5. can comment out corresponding lines in node.d.ts rid of errors.

another option compile --target es6


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -