{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/973","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/973/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/973/events","html_url":"https://github.com/ant-design/ant-design/issues/973","id":130288645,"number":973,"title":"你们是否会考虑下 typescript 的支持呢","user":{"login":"maolion","id":1732779,"avatar_url":"https://avatars.githubusercontent.com/u/1732779?v=3","gravatar_id":"","url":"https://api.github.com/users/maolion","html_url":"https://github.com/maolion","followers_url":"https://api.github.com/users/maolion/followers","following_url":"https://api.github.com/users/maolion/following{/other_user}","gists_url":"https://api.github.com/users/maolion/gists{/gist_id}","starred_url":"https://api.github.com/users/maolion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maolion/subscriptions","organizations_url":"https://api.github.com/users/maolion/orgs","repos_url":"https://api.github.com/users/maolion/repos","events_url":"https://api.github.com/users/maolion/events{/privacy}","received_events_url":"https://api.github.com/users/maolion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-01T08:07:59Z","updated_at":"2016-04-02T05:35:07Z","closed_at":"2016-02-01T10:45:24Z","body":"主要是以下几个原因:\r\n\r\n- 因为 typescript有比较强的类型系统，适合你们这些轮子服务组织。\r\n- typescript对react支持的很好（同时react对typescript支持的也很好）\r\n- typescript的方向是 es6 和es7 的超前 我说的超前是typescript 比 es6, es7 的步伐快 (或者 将来的 es N 都可能是按照 typescript实现做规划)\r\n\r\n因为看到你们项目 是基于 es6, 所以这里大胆的安利下 typescript, 希望大神别怪，  毕竟 从客观主关上来说 typescript都比es6 好用。\r\n\r\n或者 要不要考虑下提供一份比较完整的typescript 类型定义文件？\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/204650213","html_url":"https://github.com/ant-design/ant-design/issues/973#issuecomment-204650213","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/973","id":204650213,"user":{"login":"huodon","id":1720349,"avatar_url":"https://avatars.githubusercontent.com/u/1720349?v=3","gravatar_id":"","url":"https://api.github.com/users/huodon","html_url":"https://github.com/huodon","followers_url":"https://api.github.com/users/huodon/followers","following_url":"https://api.github.com/users/huodon/following{/other_user}","gists_url":"https://api.github.com/users/huodon/gists{/gist_id}","starred_url":"https://api.github.com/users/huodon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huodon/subscriptions","organizations_url":"https://api.github.com/users/huodon/orgs","repos_url":"https://api.github.com/users/huodon/repos","events_url":"https://api.github.com/users/huodon/events{/privacy}","received_events_url":"https://api.github.com/users/huodon/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T05:35:07Z","updated_at":"2016-04-02T05:35:07Z","body":"我很早也为 antd 写了(比较完整的) .d.ts.\r\n后期使用的时候确实省了不少代码探索的时间( 主要用 IDEA ). \r\n我也提倡在项目中加入typescript 的工程配置, 组件设计向 tsx, class, 包装器过渡.\r\n感谢 @someok 你的 Form 包装器我用了. "}}