0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

tsdの0.5-alphaを導入する

Last updated at Posted at 2014-01-17

TSDはTypeScriptの型定義のパッケージマネージャーとして有名ですが、
Githubから次期バージョンのプレリリース版を取得できます。

最新の型定義はこちら向けに書かれている(らしい?)ので、使ってみました。

ローカルにインストールします。

package.json
...
  "devDependencies": {
    ...
    "tsd": "git://github.com/DefinitelyTyped/tsd/#0.5.2-alpha.11"
  }
...
> npm install

プレリリース版はコマンドオプションが大きく変わっているので注意が必要です。
例えば、パッケージのインストールは以下のようになります。

> tsd query bootstrap -a install

DefinitelyTyped/tsd

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?