我如何安装列出的打字?

dcs*_*san 7 typescript tsd

我正在使用带有Typescript的库,并且收到编译器错误.

public/components/chatlogs.ts(25,19):错误TS2304:找不到名称'Handsontable'.

它似乎有一个类型:

$ typings search handsontable
Viewing 2 of 2

NAME                SOURCE HOMEPAGE                  DESCRIPTION UPDATED                 
handsontable        dt     https://handsontable.com/             2016-04-12T15:30:16.000Z
jquery-handsontable dt     http://handsontable.com               2016-03-29T17:54:46.000Z
Run Code Online (Sandbox Code Playgroud)

但后来我无法安装?

$ typings install handsontable
typings ERR! message Unable to find "handsontable" for "npm" in the registry. Did you want to install ambient typings with the ambient flag? If you can contribute these typings, please help us: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/handsontable/versions/latest responded with 404, expected it to equal 200

typings ERR! cwd /Users/dc/dev/rikai/boteditor
typings ERR! system Darwin 15.3.0
typings ERR! command "/usr/local/bin/iojs" "/usr/local/bin/typings" "install" "handsontable"
typings ERR! node -v v5.1.1
typings ERR! typings -v 0.7.12

typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>
?  boteditor git:(master) ? 
Run Code Online (Sandbox Code Playgroud)

有没有办法使用不同的"源"而不是npm?

typings help install

Usage: typings <command>

Commands:
    bundle, i, in, info, init, install, la, list, ll, ls, open, r, remove, rm,
    search, uninstall, view

typings <command> -h   Get help for <command>
typings <command> -V   Enable verbose logging

typings --version      Print the CLI version

typings@0.7.12 /usr/local/lib/node_modules/typings
Run Code Online (Sandbox Code Playgroud)

如何安装使用其他主页列出的打字?

或者也许它们存在于tsd而不是打字?

dcs*_*san 12

我相信global已经替换ambient为关键字,并且source~packagename是语法,例如:

typings install dt~node --global
Run Code Online (Sandbox Code Playgroud)

仍然不清楚什么envdt包装回购区别是什么.肯定dt是搜索的默认位置,为什么需要指定它?