searchkit / searchkit-demo

React Elasticsearch example using Searchkit
https://searchkit.co/demo
226 stars 70 forks source link

ERROR in /searchkit-demo/node_modules/@types/react-router/lib/withRouter.d.ts (3,99): error TS2314: Generic type 'PureComponent<P, S>' requires 2 type argument(s). #13

Closed svanschalkwyk closed 1 year ago

svanschalkwyk commented 7 years ago

Hi "ERROR in /searchkit-demo/node_modules/@types/react-router/lib/withRouter.d.ts (3,99): error TS2314: Generic type 'PureComponent<P, S>' requires 2 type argument(s)." when running the app.

Node 8.1.2 React 15.6.1 Ubuntu What else do you need to diagnose? Internet says this: https://stackoverflow.com/questions/32506180/error-ts2314-generic-type-componentp-s-requires-2-type-arguments but I cannot find React.Component in code.

joemcelroy commented 7 years ago

thanks, il look into it. If you just want a boilerplate, i strongly advise you not to use this as a base but searchkit-starter-app (https://github.com/searchkit/searchkit-starter-app)

TrimA74 commented 6 years ago

I am having the same problem...