{"action":"created","issue":{"url":"https://api.github.com/repos/power-assert-js/power-assert/issues/29","labels_url":"https://api.github.com/repos/power-assert-js/power-assert/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/power-assert-js/power-assert/issues/29/comments","events_url":"https://api.github.com/repos/power-assert-js/power-assert/issues/29/events","html_url":"https://github.com/power-assert-js/power-assert/pull/29","id":109687318,"number":29,"title":"Distribute power-assert.d.ts(index.d.ts) type definition files using npm","user":{"login":"falsandtru","id":3143368,"avatar_url":"https://avatars.githubusercontent.com/u/3143368?v=3","gravatar_id":"","url":"https://api.github.com/users/falsandtru","html_url":"https://github.com/falsandtru","followers_url":"https://api.github.com/users/falsandtru/followers","following_url":"https://api.github.com/users/falsandtru/following{/other_user}","gists_url":"https://api.github.com/users/falsandtru/gists{/gist_id}","starred_url":"https://api.github.com/users/falsandtru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falsandtru/subscriptions","organizations_url":"https://api.github.com/users/falsandtru/orgs","repos_url":"https://api.github.com/users/falsandtru/repos","events_url":"https://api.github.com/users/falsandtru/events{/privacy}","received_events_url":"https://api.github.com/users/falsandtru/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-10-04T15:44:28Z","updated_at":"2015-10-22T06:28:21Z","closed_at":"2015-10-22T06:28:21Z","pull_request":{"url":"https://api.github.com/repos/power-assert-js/power-assert/pulls/29","html_url":"https://github.com/power-assert-js/power-assert/pull/29","diff_url":"https://github.com/power-assert-js/power-assert/pull/29.diff","patch_url":"https://github.com/power-assert-js/power-assert/pull/29.patch"},"body":"Enhanced node package distribute system. Distribute package with `.d.ts` type definition files using npm.\r\nhttps://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages\r\n\r\nType definition files might well survive even after typescript died.\r\nhttp://mozaic.fm/post/96461640633/8-altjs"},"comment":{"url":"https://api.github.com/repos/power-assert-js/power-assert/issues/comments/150121688","html_url":"https://github.com/power-assert-js/power-assert/pull/29#issuecomment-150121688","issue_url":"https://api.github.com/repos/power-assert-js/power-assert/issues/29","id":150121688,"user":{"login":"twada","id":19881,"avatar_url":"https://avatars.githubusercontent.com/u/19881?v=3","gravatar_id":"","url":"https://api.github.com/users/twada","html_url":"https://github.com/twada","followers_url":"https://api.github.com/users/twada/followers","following_url":"https://api.github.com/users/twada/following{/other_user}","gists_url":"https://api.github.com/users/twada/gists{/gist_id}","starred_url":"https://api.github.com/users/twada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twada/subscriptions","organizations_url":"https://api.github.com/users/twada/orgs","repos_url":"https://api.github.com/users/twada/repos","events_url":"https://api.github.com/users/twada/events{/privacy}","received_events_url":"https://api.github.com/users/twada/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T06:28:21Z","updated_at":"2015-10-22T06:28:21Z","body":"@falsandtru @vvakame @teppeis \r\n\r\nThanks you for your discussions. Thank you all, really.\r\n\r\nDecided. I close this pull-req for now.\r\n\r\nI think this PR is not bad. Hosting `index.d.ts` will be one of the future direction we select.\r\n\r\nHowever I close this PR because,\r\n\r\n1. TypeScript spec and implementation of hosting typings in npm module is young, not stable, not mature enough. There should be only one true way to describe and provide type definition.\r\n2. I (@twada) am not a TypeScript user, so I cannot review deep technical details of this PR for now. It's my fault.\r\n3. There are some other gradual typing solutions like Flowtype. TypeScript is not a dominant language yet.\r\n\r\nSo, I want to wait for time-proven and well-documented best practices of hosting type definitions. I'll reopen this or send another pull-req when the time for hosting typings has come.\r\n\r\nI'm so so sorry for closing this pull-request.\r\n\r\nThanks.\r\n"}}