{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6761","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6761/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6761/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6761/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6761","id":130033163,"number":6761,"title":"no way to specify type parameters inside tsx code","user":{"login":"pdeva","id":3190176,"avatar_url":"https://avatars.githubusercontent.com/u/3190176?v=3","gravatar_id":"","url":"https://api.github.com/users/pdeva","html_url":"https://github.com/pdeva","followers_url":"https://api.github.com/users/pdeva/followers","following_url":"https://api.github.com/users/pdeva/following{/other_user}","gists_url":"https://api.github.com/users/pdeva/gists{/gist_id}","starred_url":"https://api.github.com/users/pdeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdeva/subscriptions","organizations_url":"https://api.github.com/users/pdeva/orgs","repos_url":"https://api.github.com/users/pdeva/repos","events_url":"https://api.github.com/users/pdeva/events{/privacy}","received_events_url":"https://api.github.com/users/pdeva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-30T20:32:03Z","updated_at":"2016-01-30T20:32:03Z","closed_at":null,"body":"I have a react component like this:\r\n\r\n```\r\nclass MultiSelect<D> extends React.Component<{list:D},{}>\r\n```\r\n\r\nIf i want to use it:\r\n\r\n```\r\n<MultiSelect list={items}/>\r\n```\r\n\r\nI will get an error above cause I cannot define `D` anywhere.\r\n\r\n\r\n\r\n"}}