VS 2015 RC还有什么方法?
解决方法
来自文档:
# Install Typings CLI utility.
npm install typings –global# Search for deFinitions.
typings search tape# Find an available deFinition (by name).
typings search –name react# If you use the package as a module:
# Install non-ambient typings (default from “npm” registry,configurable throughdefaultSource
in.typingsrc
)
typings install debug –save# If you use the package through script tag,or
# it is part of the environment,or
# the non-ambient typings is not yet available:
typings install dt~mocha –global –save# Install typings from particular registry
typings install env~atom –global –save
typings install npm~bluebird –save# Use
typings/index.d.ts
(intsconfig.json
or as a///
reference).
cat typings/index.d.ts
原文地址:https://www.jb51.cc/aspnet/246115.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。