{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13251","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13251/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13251/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13251/events","html_url":"https://github.com/Microsoft/TypeScript/issues/13251","id":198315759,"number":13251,"title":"Suggestion: Copy doc comments for Partial<T>","user":{"login":"xuld","id":963999,"avatar_url":"https://avatars.githubusercontent.com/u/963999?v=3","gravatar_id":"","url":"https://api.github.com/users/xuld","html_url":"https://github.com/xuld","followers_url":"https://api.github.com/users/xuld/followers","following_url":"https://api.github.com/users/xuld/following{/other_user}","gists_url":"https://api.github.com/users/xuld/gists{/gist_id}","starred_url":"https://api.github.com/users/xuld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuld/subscriptions","organizations_url":"https://api.github.com/users/xuld/orgs","repos_url":"https://api.github.com/users/xuld/repos","events_url":"https://api.github.com/users/xuld/events{/privacy}","received_events_url":"https://api.github.com/users/xuld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-02T10:14:28Z","updated_at":"2017-01-02T10:14:28Z","closed_at":null,"body":"<!-- BUGS: Please use this template. -->\r\n<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:**  2.1.1 / nightly (2.2.0-dev.201xxxxx)\r\n\r\n**Code**\r\n\r\n```ts\r\ninterface A {\r\n    /** I'm a doc comment. */\r\n    prop: string;\r\n}\r\n\r\ntype B = Partial<A>;\r\n\r\nvar a: A;\r\nvar b: B;\r\n```\r\n\r\n**Expected behavior:**\r\nThe doc comment of `A.prop` should be copied to `B.prop`.\r\nSince there is no other method to add doc comments for type B.\r\n\r\n**Actual behavior:**\r\n`a.prop` has a description while `b.prop` dose not. \r\n"}}
{"actor":{"display_login":"xuld"}}