有没有人让angular2与EaselJS合作? [英] Has anyone gotten angular2 working with EaselJS?

查看:78
本文介绍了有没有人让angular2与EaselJS合作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是进入角度2-难以弄清楚如何使TypeScript进入easyljs类系统..有任何建议/小提琴吗?

just getting into angular 2 - having trouble figuring out how to get typeScript to access easeljs class system .. any suggestions/fiddles?

推荐答案

看起来很幸运,因为已经有类型

It looks like your in luck because there are already type defintions for easeljs in the DefinitelyTyped repo

在DefinitelyTyped存储库中对easyljs的定义

In order to access the types install typings and then pull the definitions

npm install typings --global

typings install dt~easeljs --global --save

编辑:已更新,以反映tsd已被弃用并由tsd代替的事实

updated to reflect the fact that tsd has been deprecated and replaced by tsd

这篇关于有没有人让angular2与EaselJS合作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆