-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
react-hooks-testing-library/package.json
Lines 53 to 55 in ca13ed9
"@types/react": ">=16.9.0", | |
"@types/react-dom": ">=16.9.0", | |
"@types/react-test-renderer": ">=16.9.0", |
This is causing multiple React declarations errors in our codebase, e.g.
node_modules/@testing-library/react-hooks/node_modules/@types/react/index.d.ts:3127:13 - error TS2717: Subsequent property declarations must have the same type. Property 'datalist' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>'.
3127 datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
~~~~~~~~
node_modules/@types/react/index.d.ts:3126:13
3126 datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
~~~~~~~~
'datalist' was also declared here.
ianschmitz
Metadata
Metadata
Assignees
Labels
No labels