Lemoncode/react-typescript-samples

Occurs error "type 'Location' is not generic." in sample 09 Redux

qkreltms opened this issue · 0 comments

I tried using "@types/react-router-dom": "^4.3.0", ,but error occurs

ERROR in [at-loader] ./node_modules/@types/react-router/index.d.ts:69:13
    TS2315: Type 'Location' is not generic.

So I Updated @types/history to "4.7.0", fixed this for me.