Open fer22f opened 4 years ago
The following snippet from the handbook doesn't compile anymore:
function applyMixins(derivedCtor: any, baseCtors: any[]) { baseCtors.forEach(baseCtor => { Object.getOwnPropertyNames(baseCtor.prototype).forEach(name => { Object.defineProperty(derivedCtor.prototype, name, Object.getOwnPropertyDescriptor(baseCtor.prototype, name)); }); }); }
2.7.2 Playground 2.4.1 Playground
Any suggestions on how to fix it?
Bump
The following snippet from the handbook doesn't compile anymore:
2.7.2 Playground 2.4.1 Playground
Any suggestions on how to fix it?