jfairbank / redux-saga-test-plan

Test Redux Saga with an easy plan.
http://redux-saga-test-plan.jeremyfairbank.com
MIT License
1.25k stars 127 forks source link

TS2314 error after upgrading to redux-saga 1.1.1 and typescript 3.6 #307

Closed stilettk closed 5 years ago

stilettk commented 5 years ago

I use webpack with Babel to build my project. I got the following error after upgrading to redux-saga 1.1.1 and typescript 3.6:

ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts(89,39):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts(90,35):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts(92,37):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts(93,37):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/effects.d.ts(94,39):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts(16,27):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts(19,26):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts(21,27):
TS2314: Generic type 'ForkEffectDescriptor<RT>' requires 1 type argument(s).

ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts
ERROR in .../app/node_modules/redux-saga-test-plan/providers.d.ts(28,28):
TS2314: Generic type 'CallEffectDescriptor<RT>' requires 1 type argument(s).

package.json: "typescript": "^3.6.3" "redux-saga": "^1.1.1" "redux-saga-test-plan": "^4.0.0-rc.1",

kristian-puccio commented 5 years ago

Yeah I'm seeing the same issue

jp928 commented 5 years ago

@stilettk @kristian-puccio Thanks for reporting the issue. I am about to make a new release to fix this issue.

jp928 commented 5 years ago

I will close this unless new report.