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.
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
Post a Comment