{"id":776,"date":"2016-03-06T12:06:30","date_gmt":"2016-03-06T03:06:30","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=776"},"modified":"2017-02-13T14:23:14","modified_gmt":"2017-02-13T05:23:14","slug":"tsd-typescript-definition-manager-for-definitely-typed","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/776","title":{"rendered":"tsd (TypeScript Definition manager for Definitely Typed)"},"content":{"rendered":"<h2>\uff01\uff01\uff01 \u6ce8\u610f \uff01\uff01\uff01<\/h2>\n<p>TypeScript 2.0\u306b\u3066\u3001tsd\u306fdeprecated(\u975e\u63a8\u5968)\u306b\u5909\u66f4\u3002typings\u3092\u4ee3\u66ff\u30c4\u30fc\u30eb\u3068\u3057\u3066\u63a8\u5968\u3002\u7279\u5225\u306a\u30c4\u30fc\u30eb\u306f\u4e0d\u8981\u3067npm\u3067\u3082\u7ba1\u7406\u53ef\u80fd\u3002<\/p>\n<blockquote><p><a href=\"https:\/\/github.com\/DefinitelyTyped\/tsd\/issues\/269\">https:\/\/github.com\/DefinitelyTyped\/tsd\/issues\/269<\/a><\/p><\/blockquote>\n<h3>npm\u3067\u578b\u60c5\u5831\u3092\u7ba1\u7406\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff09\u3059\u308b\u4f8b<\/h3>\n<pre class=\"lang:sh decode:true \" >$ npm install --save @types\/electron<\/pre>\n<p>*.ts\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u304a\u3044\u3066 reference path \u3092\u8a18\u8ff0\u3057\u3066\u578b\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u5fc5\u8981\u306a\u3057\u3002\uff08tsd\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u8aad\u307f\u8fbc\u3082\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\uff09<\/p>\n<hr>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h2>\n<pre class=\"lang:sh decode:true \" >$ npm install tsd -g<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u30aa\u30d7\u30b7\u30e7\u30f3<\/h2>\n<dl>\n<dt>-r, &#8211;resolve<\/dt>\n<dd>\u53c2\u7167\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u542b\u3081\u308b<\/dd>\n<\/dl>\n<dl>\n<dt>-o, &#8211;overwrite<\/dt>\n<dd>\u4e0a\u66f8\u304d<\/dd>\n<\/dl>\n<dl>\n<dt>-s, &#8211;save<\/dt>\n<dd>\u8a2d\u5b9a\u3092\u4fdd\u5b58<\/dd>\n<\/dl>\n<dl>\n<dt>-a, &#8211;action &lt;name&gt;<\/dt>\n<dd>\u30a2\u30af\u30b7\u30e7\u30f3<\/dd>\n<\/dl>\n<p>&nbsp;<\/p>\n<h2>\u30b3\u30de\u30f3\u30c9\u4f8b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ tsd install github-electron --save<\/pre>\n<pre class=\"lang:sh decode:true \" >$ tsd query github-electron -rosa install<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uff01\uff01\uff01 \u6ce8\u610f \uff01\uff01\uff01 TypeScript 2.0\u306b\u3066\u3001tsd\u306fdeprecated(\u975e\u63a8\u5968)\u306b\u5909\u66f4\u3002typings\u3092\u4ee3\u66ff\u30c4\u30fc\u30eb\u3068\u3057\u3066\u63a8\u5968\u3002\u7279\u5225\u306a\u30c4\u30fc\u30eb\u306f\u4e0d\u8981\u3067npm\u3067\u3082\u7ba1\u7406\u53ef\u80fd\u3002 https:\/\/github.com\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[27],"class_list":["post-776","post","type-post","status-publish","format-standard","hentry","category-memo","tag-typescript"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=776"}],"version-history":[{"count":10,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":1227,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/776\/revisions\/1227"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}