{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4833","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4833/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4833/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4833/events","html_url":"https://github.com/Microsoft/TypeScript/issues/4833","id":106923653,"number":4833,"title":"Support setting React PropTypes using TypeScript types","user":{"login":"Vinnl","id":4251,"avatar_url":"https://avatars.githubusercontent.com/u/4251?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinnl","html_url":"https://github.com/Vinnl","followers_url":"https://api.github.com/users/Vinnl/followers","following_url":"https://api.github.com/users/Vinnl/following{/other_user}","gists_url":"https://api.github.com/users/Vinnl/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinnl/subscriptions","organizations_url":"https://api.github.com/users/Vinnl/orgs","repos_url":"https://api.github.com/users/Vinnl/repos","events_url":"https://api.github.com/users/Vinnl/events{/privacy}","received_events_url":"https://api.github.com/users/Vinnl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T07:01:23Z","updated_at":"2015-09-17T07:01:23Z","closed_at":null,"body":"I'm not sure how practical this would be, but since TypeScript is now supporting React's JSX syntax, it could perhaps provide more syntactic sugar for a common React pattern? Namely, that of setting [PropTypes](https://facebook.github.io/react/docs/reusable-components.html#prop-validation), requirements for the structure of property arguments for React components. Sounds like TypeScript's syntax should be able to remove a lot of the boilerplate there."}}