just getting into angular 2 - having trouble figuring out how to get typeScript to access easeljs class system .. any suggestions/fiddles?
Asked
Active
Viewed 812 times
1 Answers
1
It looks like your in luck because there are already type defintions for easeljs in the DefinitelyTyped repo
In order to access the types install typings and then pull the definitions
npm install typings --global
typings install dt~easeljs --global --save
Edit: updated to reflect the fact that tsd has been deprecated and replaced by tsd

Tadwork
- 199
- 1
- 6
-
`tsd` is deprecated. You should be using `typings` https://github.com/typings/typings – chrisbajorin Jun 20 '16 at 18:40
-
Did it work? I have a problem with the import. Could you please provide a step by step with the npm installs and a snippet of the class that instantiates Stage? – cojack20 May 19 '17 at 00:17