Typescript error with ^4.0.0-beta.2
See original GitHub issueI wanted to install redux-saga-test-plan and I got some typing errors. So I tried to update the dependencies and I finally end up with the following dependency versions: “typescript”: “^3.1.1”, “redux-saga”: “^1.0.1”, “redux-saga-test-plan”: “^4.0.0-beta.2”,
and I see this type-checking error:
node_modules/redux-saga-test-plan/effects.d.ts:13:16 - error TS2314: Generic type 'Pattern' requires 1 type argument(s).
13 (pattern?: E.Pattern): R;
~~~~~~~~~
I also tried with the last typescript version (3.3) and same error.
I investigated a little bit and it looks like this Pattern
type changed 2 months ago in redux-saga (https://github.com/redux-saga/redux-saga/blob/master/packages/types/index.d.ts) but maybe the problem appears only with the recent versions of typescript…
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:17 (1 by maintainers)
Top Results From Across the Web
4.0.0 breaks with typescript (all versions) #9868 - GitHub
Describe the bug I made a clean install of cra@next with typescript and then upgraded typescript to 4.1.0-beta ( also tested ...
Read more >Announcing TypeScript 4.0 Beta - Microsoft Developer Blogs
TypeScript 4.0 brings two fundamental changes, along with inference ... Previously, TypeScript would issue an error like the following.
Read more >The Angular Compiler requires TypeScript >=3.4.0 and <3.5.0 ...
An unhandled exception occurred: The Angular Compiler requires TypeScript >=4.0.0 and <4.2.0 but 4. 2.3 was found instead. To resolve this issue ...
Read more >TypeScript: JavaScript With Syntax For Types.
TypeScript is JavaScript with syntax for types. TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at ......
Read more >What's new with TypeScript 4.0 - JavaScript in Plain English
TypeScript 3.9 has been released last month, and the first beta of TypeScript 4.0 is already in beta. Here's everything that's new!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey, folks. Sorry for the delay. I’ve published v4.0.0-beta.3. I’m working with @jp928 to give him publish access so I don’t slow things down.
@Favna @fabienchn I had informed the author via another channel who has the privilege to publish to npm. It should be coming soon. Thanks for using the library.