0👍
try these
module.exports = new myClass
-
mixin – it should look like so
module.exports = () => new class newClass extends myClass{
constructor(){
super();
}}
Source:stackexchange.com
0👍
try these
module.exports = new myClass
mixin – it should look like so
module.exports = () => new class newClass extends myClass{
constructor(){
super();
}}