{"action":"closed","issue":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3795","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3795/labels{/name}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3795/comments","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3795/events","html_url":"https://github.com/borisyankov/DefinitelyTyped/issues/3795","id":59908975,"number":3795,"title":"React 0.13 cloneElement","user":{"login":"JLarky","id":7026,"avatar_url":"https://avatars.githubusercontent.com/u/7026?v=3","gravatar_id":"","url":"https://api.github.com/users/JLarky","html_url":"https://github.com/JLarky","followers_url":"https://api.github.com/users/JLarky/followers","following_url":"https://api.github.com/users/JLarky/following{/other_user}","gists_url":"https://api.github.com/users/JLarky/gists{/gist_id}","starred_url":"https://api.github.com/users/JLarky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLarky/subscriptions","organizations_url":"https://api.github.com/users/JLarky/orgs","repos_url":"https://api.github.com/users/JLarky/repos","events_url":"https://api.github.com/users/JLarky/events{/privacy}","received_events_url":"https://api.github.com/users/JLarky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/labels/Definition:Enhancement","name":"Definition:Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/labels/Definition:Missing","name":"Definition:Missing","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-05T05:55:06Z","updated_at":"2015-03-11T05:47:31Z","closed_at":"2015-03-11T05:47:31Z","body":"I stumbled upon fact that React.cloneElement is not defined. I played a bit with definition and come up with\r\n```\r\n    function cloneElement<P>(\r\n        element:ReactElement<P>, newProps?: P, ...children: ReactNode[]): ReactElement<P>;\r\n    function cloneElement<P>(\r\n        element:ReactElement<P>, config?: any, ...children: ReactNode[]): ReactElement<P>;\r\n```\r\n\r\nthis is wrong and incomplete :) I just want for someone to make it better :)"}}