-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Due to the limitation of node-addon-api
, this project has not implemented inheritance yet, so calling the method of superclass from subclass object will report an error, just like
TypeError: Illegal invocation
Related issues are discussed in the following two issues.
node-addon-api#229
node-addon-api#956
In order to temporarily solve this problem, I reexposed the superclass method that needs to be used on the subclass.
It is expected that node-addon-api
can really support inheritance.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed