{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9547","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9547/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9547/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9547/events","html_url":"https://github.com/Microsoft/TypeScript/issues/9547","id":164255962,"number":9547,"title":"error TS2347: Untyped function calls may not accept type arguments","user":{"login":"RichardJECooke","id":5468805,"avatar_url":"https://avatars.githubusercontent.com/u/5468805?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardJECooke","html_url":"https://github.com/RichardJECooke","followers_url":"https://api.github.com/users/RichardJECooke/followers","following_url":"https://api.github.com/users/RichardJECooke/following{/other_user}","gists_url":"https://api.github.com/users/RichardJECooke/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardJECooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardJECooke/subscriptions","organizations_url":"https://api.github.com/users/RichardJECooke/orgs","repos_url":"https://api.github.com/users/RichardJECooke/repos","events_url":"https://api.github.com/users/RichardJECooke/events{/privacy}","received_events_url":"https://api.github.com/users/RichardJECooke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T08:30:22Z","updated_at":"2016-07-07T08:30:22Z","closed_at":null,"body":"**TypeScript Version:**  1.8.0\r\n\r\n**Code**\r\n\r\nThis class with a generic function\r\n\r\n```ts\r\nclass ResponseHelper {\r\n  getSuccessResponse<T>(dataToReturn : T, newEncryptedAuthToken : string) : string {\r\n    const result : IResponse<T> =\r\n    {     \r\n      'errorMessage': null,\r\n      'data': dataToReturn\r\n    }\r\n    return JSON.stringify(result);\r\n  }\r\n}\r\nexport = new ResponseHelper();\r\n```\r\n\r\nwhen called like this:\r\n```ts\r\nresolve(responseHelper.getSuccessResponse<string>(externalPaymentId, newJwt));\r\n```\r\n\r\ngives this error incorrectly:\r\nerror TS2347: Untyped function calls may not accept type arguments\r\n\r\nIn both the Typescript compiler and the Atom plugin.\r\n\r\nIs it something that is part of the 1.9 fixes, like the resolve promise required bug?\r\n"}}
{"actor":{"display_login":"RichardJECooke"}}