{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/146","repository_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki","labels_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/146/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/146/events","html_url":"https://github.com/Microsoft/TypeScript-wiki/pull/146","id":260372759,"number":146,"title":"Provide equivalent Typescript examples in JSDoc documentation","user":{"login":"nojvek","id":1018196,"avatar_url":"https://avatars1.githubusercontent.com/u/1018196?v=4","gravatar_id":"","url":"https://api.github.com/users/nojvek","html_url":"https://github.com/nojvek","followers_url":"https://api.github.com/users/nojvek/followers","following_url":"https://api.github.com/users/nojvek/following{/other_user}","gists_url":"https://api.github.com/users/nojvek/gists{/gist_id}","starred_url":"https://api.github.com/users/nojvek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nojvek/subscriptions","organizations_url":"https://api.github.com/users/nojvek/orgs","repos_url":"https://api.github.com/users/nojvek/repos","events_url":"https://api.github.com/users/nojvek/events{/privacy}","received_events_url":"https://api.github.com/users/nojvek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-25T18:31:42Z","updated_at":"2017-09-26T22:10:54Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/146","html_url":"https://github.com/Microsoft/TypeScript-wiki/pull/146","diff_url":"https://github.com/Microsoft/TypeScript-wiki/pull/146.diff","patch_url":"https://github.com/Microsoft/TypeScript-wiki/pull/146.patch"},"body":"Improving `JSDoc support in Javascript` documentation by adding equivalent javascript examples. \r\n\r\nJSDoc format is quite different from TS so this helps a user understand how JSdoc differs from TS."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/comments/332351133","html_url":"https://github.com/Microsoft/TypeScript-wiki/pull/146#issuecomment-332351133","issue_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/146","id":332351133,"user":{"login":"DanielRosenwasser","id":972891,"avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"created_at":"2017-09-26T22:10:54Z","updated_at":"2017-09-26T22:10:54Z","author_association":"MEMBER","body":"I spoke with @mhegazy about this - the original purpose of this document was to help users with JSDoc usage for .js files, but it's not as much for existing TypeScript users. I was thinking it might make more sense to have a section in the [Type Checking JS Files doc](https://github.com/Microsoft/TypeScript-wiki/blob/master/Type-Checking-JavaScript-Files.md) and point out two main things:\r\n\r\n1. Most TypeScript annotations will work in JSDoc annotations.\r\n2. Here are the annotations that we specially handle in JSDoc, and here's what the equivalent is in TypeScript."}}
{"actor":{"display_login":"DanielRosenwasser"}}