-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Given the type 'T & Document', can't type the object returned by .toObject() as T #9944
Comments
This is because We'll add a generic parameter to |
…e for backwards compatibility Fix #9944
I don't know if it is a bug. It seems to be so. I can tell you it worked with v5.10.11. It doesn't work anymore with v5.11.16
Given this piece code
the compiler complaints as follows
My
tsconfig.json
is as followsThe text was updated successfully, but these errors were encountered: