简体   繁体   中英

Typings project and use of Definitely Typed Repository

如何在Angular 2项目中从绝对类型的存储库中添加类型,以及如何将这些文件(即*d.ts )映射到相应的JavaScript库?

The easiest is just to use typings .

On your second question: if you setup typings correctly, the compiler will find the proper module automatically, no need for any triple-dash references anymore 🙂.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM