Which version did you use? I made a mistake with the types in
alpha.9 which should be fixed in
What does your
tsconfig.json file look like? You might need to exclude some of the installed types to prevent the duplicate identifier error. However, I am also new to typescript and the type defenitions, so I am not sure if I can help you out.
Maybe I should make /core-js a peer dependency to make sure that it is installed by
npm (I used
npm for installing the types, and I hope everyone will start doing that, because having
typings as a second package manager is a bit double in my opinion). It could however be that some other package references the same type defenition that is installed in the
typings directory, so that it is installed twice at different locations (at least, that is what I think, I am not sure about this). I think that if
tsc 'sees' both types it will throw the duplicate identifier error, so one of them should be excluded for typescript compilation.
But again, this is just a guess. I didn't have the time yet to dive into the typescript details...