-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type 'typeof Book' does not satisfy the constraint 'typeof AnyModel'. #631
Comments
For a full list of errors generated by
|
Also getting this error:
error
|
Any fix? |
Same error. Makes difficult to add to a Typescript project |
Fixed it by downgrading my version of Typescript to 3.8 |
Is this an issue that stops you from using the library or just an edge case you can avoid? I'm considering using redux-orm and don't want to face a wall. |
No, it's not an edge case you can avoid. You would surely encounter it if your models have reducer methods. Like I mentioned earlier, using Typescript 3.8 - the version redux-orm-tests.ts was based on, resolved the issue for me. |
Is there any workaround that keeps the newest version? For example using the |
Hi, I just want to make sure if this library works well with typescript.
I tried copying redux-orm-tests.ts to my project, but got the following error from vscode:
My tsconfig.json is here:
typescript version:
vscode version:
Thanks in advance!
The text was updated successfully, but these errors were encountered: