{"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/comments/12816580","html_url":"https://github.com/Microsoft/TypeScript/commit/abc96936b52ad35a086348873fc76eb24e984e39#commitcomment-12816580","id":12816580,"user":{"login":"JsonFreeman","id":8052525,"avatar_url":"https://avatars.githubusercontent.com/u/8052525?v=3","gravatar_id":"","url":"https://api.github.com/users/JsonFreeman","html_url":"https://github.com/JsonFreeman","followers_url":"https://api.github.com/users/JsonFreeman/followers","following_url":"https://api.github.com/users/JsonFreeman/following{/other_user}","gists_url":"https://api.github.com/users/JsonFreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/JsonFreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JsonFreeman/subscriptions","organizations_url":"https://api.github.com/users/JsonFreeman/orgs","repos_url":"https://api.github.com/users/JsonFreeman/repos","events_url":"https://api.github.com/users/JsonFreeman/events{/privacy}","received_events_url":"https://api.github.com/users/JsonFreeman/received_events","type":"User","site_admin":false},"position":4,"line":3495,"path":"src/services/services.ts","commit_id":"abc96936b52ad35a086348873fc76eb24e984e39","created_at":"2015-08-20T20:37:10Z","updated_at":"2015-08-20T20:37:10Z","body":"I don't think it should call into the parser. Instead the parser should produce a tree that actually has a TypeParameterDeclaration in it, and completion should be looking at that TypeParameterDeclaration node to determine that it represents a type parameter declaration. In a construct like:\r\n```ts\r\nclass C<\r\n```\r\nThere is no reason *not* to parse this as a type parameter declaration."}}