Closed birtles closed 3 years ago
This allows passing a class instance to implement methods such that the class instance is still able to access class members.
Without this change, the test added in this patch will fail with the following error:
● call:bound methods TypeError: Cannot read property 'magicNumber' of undefined
Fixes #59.
The fix is included in v0.4.5 just released to npm
This allows passing a class instance to implement methods such that the class instance is still able to access class members.
Without this change, the test added in this patch will fail with the following error:
Fixes #59.