{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10946","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10946/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10946/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10946/events","html_url":"https://github.com/Microsoft/TypeScript/issues/10946","id":177382239,"number":10946,"title":"JSDOC function parameter type is not supported","user":{"login":"danielo515","id":2270425,"avatar_url":"https://avatars.githubusercontent.com/u/2270425?v=3","gravatar_id":"","url":"https://api.github.com/users/danielo515","html_url":"https://github.com/danielo515","followers_url":"https://api.github.com/users/danielo515/followers","following_url":"https://api.github.com/users/danielo515/following{/other_user}","gists_url":"https://api.github.com/users/danielo515/gists{/gist_id}","starred_url":"https://api.github.com/users/danielo515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielo515/subscriptions","organizations_url":"https://api.github.com/users/danielo515/orgs","repos_url":"https://api.github.com/users/danielo515/repos","events_url":"https://api.github.com/users/danielo515/events{/privacy}","received_events_url":"https://api.github.com/users/danielo515/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Working%20as%20Intended","name":"Working as Intended","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-16T09:34:30Z","updated_at":"2016-09-19T18:44:43Z","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\nVsCode Versión 1.5.2 (1.5.2)\r\n\r\n**Code**\r\n\r\n```js\r\n/* This works with intellisense \r\n * @param {Function} fn - the function \r\n* This does not work\r\n * @param {function} fn2 - the second function\r\n*/\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nI expect intellisense to be case agnostic and provide types for both params indicating their type as function.\r\n\r\n**Actual behavior:** \r\n\r\nIn the second case the type is indicated as `any`"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/248084184","html_url":"https://github.com/Microsoft/TypeScript/issues/10946#issuecomment-248084184","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10946","id":248084184,"user":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T18:44:43Z","updated_at":"2016-09-19T18:44:43Z","body":"The upper-case type `String` is the type of objects created from the `String` constructor (the one you should never user).\r\n\r\nThe lower-case type `string` is the type of primitive string values.\r\n\r\nThe upper-case type `Function` is the type of instances of the global constructor function `Function`.\r\n\r\nThe lower-case type `function` doesn't exist. You could write `type function = (...args: any[]) => any;` if you wanted something equivalent.\r\n"}}
{"actor":{"display_login":"RyanCavanaugh"}}