{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/33481","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/33481/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/33481/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/33481/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33481","id":415808236,"node_id":"MDU6SXNzdWU0MTU4MDgyMzY=","number":33481,"title":"[@types/react-is] 16.7.1 fails to compile","user":{"login":"Prabhakar-17","id":28021552,"node_id":"MDQ6VXNlcjI4MDIxNTUy","avatar_url":"https://avatars2.githubusercontent.com/u/28021552?v=4","gravatar_id":"","url":"https://api.github.com/users/Prabhakar-17","html_url":"https://github.com/Prabhakar-17","followers_url":"https://api.github.com/users/Prabhakar-17/followers","following_url":"https://api.github.com/users/Prabhakar-17/following{/other_user}","gists_url":"https://api.github.com/users/Prabhakar-17/gists{/gist_id}","starred_url":"https://api.github.com/users/Prabhakar-17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prabhakar-17/subscriptions","organizations_url":"https://api.github.com/users/Prabhakar-17/orgs","repos_url":"https://api.github.com/users/Prabhakar-17/repos","events_url":"https://api.github.com/users/Prabhakar-17/events{/privacy}","received_events_url":"https://api.github.com/users/Prabhakar-17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-28T20:26:37Z","updated_at":"2019-02-28T20:32:20Z","closed_at":null,"author_association":"NONE","body":"If you know how to fix the issue, make a pull request instead.\r\n\r\n- [x] I tried using the `@types/react-is` package and had problems.\r\n- [x] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript\r\n- [x] I have a question that is inappropriate for [StackOverflow](https://stackoverflow.com/).  (Please ask any appropriate questions there).\r\n- [x] [Mention](https://github.com/blog/821-mention-somebody-they-re-notified) the authors (see `Definitions by:` in `index.d.ts`) so they can respond.\r\n  - Authors: @AviVahl @christianchown @eps1lon \r\n\r\nIf you do not mention the authors the issue will be ignored.\r\n\r\nI've installed:\r\n```\r\n- react-is 16.8.3\r\n- @types/react-is 16.7.1\r\n```\r\n\r\nWhen trying to compile the project I get:\r\n```\r\nnode_modules/@types/react-is/index.d.ts:20:51 - error TS2707: Generic type 'ReactElement<P, T>' requires between 1 and 2 type arguments.\r\n20 export function isAsyncMode(value: any): value is ReactElement;\r\n```\r\n\r\nPlease see below screenshot for detail.\r\n![image](https://user-images.githubusercontent.com/28021552/53595731-054be700-3bc4-11e9-97d5-5d455f92e24c.png)\r\n\r\nI am using node 10.6.0 and yarn 1.13.0 on Windows machine. Thanks"},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/468427112","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33481#issuecomment-468427112","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/33481","id":468427112,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2ODQyNzExMg==","user":{"login":"eps1lon","id":12292047,"node_id":"MDQ6VXNlcjEyMjkyMDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/12292047?v=4","gravatar_id":"","url":"https://api.github.com/users/eps1lon","html_url":"https://github.com/eps1lon","followers_url":"https://api.github.com/users/eps1lon/followers","following_url":"https://api.github.com/users/eps1lon/following{/other_user}","gists_url":"https://api.github.com/users/eps1lon/gists{/gist_id}","starred_url":"https://api.github.com/users/eps1lon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eps1lon/subscriptions","organizations_url":"https://api.github.com/users/eps1lon/orgs","repos_url":"https://api.github.com/users/eps1lon/repos","events_url":"https://api.github.com/users/eps1lon/events{/privacy}","received_events_url":"https://api.github.com/users/eps1lon/received_events","type":"User","site_admin":false},"created_at":"2019-02-28T20:32:20Z","updated_at":"2019-02-28T20:32:20Z","author_association":"CONTRIBUTOR","body":"Looks like an older version of `@types/react`.\r\n\r\nThe [latest `ReactElement`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/604c21a941c33ecc62893e5ed56e26dd6598e5eb/types/react/index.d.ts#L86) does not require type arguments. Can you upgrade your `@types/react`?"}}
{"actor":{"display_login":"eps1lon"}}