You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When use P.instanceOf() for an abstract class type, it show the follow errors:
Argument of type'typeof A' is not assignable to parameter of type'AnyConstructor'.
Cannot assign an abstract constructor type to a non-abstract constructor type.
Describe the bug
When use P.instanceOf() for an abstract class type, it show the follow errors:
Code Sandbox with a minimal reproduction case
It works normally it the classes are not abstract:
Code:
Versions
The text was updated successfully, but these errors were encountered: