- Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedversion 2.x
Description
I have encountered the attached error message when I tried adding my class to be serializable with addSerializableClass().
This example 03-Store-Classes.md seems to show the error message as well.
Argument of type 'typeof NameHolder' is not assignable to parameter of type'FunctionConstructor'. Types of property 'prototype' are incompatible. Type 'NameHolder' is missing the following properties from type 'Function': apply, call, bind, prototype, and 4 more. js(2345) edit:
I understand, this might not be a problem of package itself, but I think that it's worth mentioning, that such error might occur. As for now, I was able to just ignore the error and everything seems to work as expected.
I have also created a quick CodeSandbox with the example and there is no such error in there.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedversion 2.x