sat*_*mar 17 typescript typescript-typings
用过的:
typings install jquery --global
typings ERR! message Unable to find "jquery" ("npm") in the registry. Did you want to try searching another source? Also, if you want contribute these typings, please help us: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/jquery/versions/latest responded with 404, expected it to equal 200
Run Code Online (Sandbox Code Playgroud)
任何人都可以帮助我.
rap*_*aëλ 31
尝试:
typings install dt~jquery --global --save
Run Code Online (Sandbox Code Playgroud)
编辑:
来自https://github.com/typings/typings#updating-from-0x-to-10
如果要从DefinitelyTyped安装,请显式(使用dt~ - global).例如:typings install dt~angular-component-router --global --save
(另见Fidan Hakaj的评论如下)
如果您使用typescript2.0命令:
npm install -g typescript@2.0
您可以使用以下命令安装jquery:
npm install --save @ types/jquery
| 归档时间: |
|
| 查看次数: |
17411 次 |
| 最近记录: |