I am using typescript and trying to use the ES6 card, but getting compilation errors.
I noticed that I need to reference the file lib.core.es6.d.ts( ES6 Map in Typescript ), and I know where it is on my file system. However, I cannot find anything that indicates what to do to use this file.
Right now I have only two files in the folder that I am compiling with
tsc --module amd treenode.ts treemerge.ts
How to use es6 types in one of these files? If the answer is "restructuring your project, as site X says," I will grumble, but I think that everything is in order.
source
share