Open issa-tseng opened 5 years ago
TypeError: Cannot call a class constructor without |new|
where SomeClass is some ES6-generated Model.build classdef, for example.
this happens because ES6 constructors cannot be called without keyword new, but coffeescript 1.x does not know this.
new
hmmm.
so far i have not found any solution that preserves both of:
extends Model.build
this is a mess.
where SomeClass is some ES6-generated Model.build classdef, for example.
this happens because ES6 constructors cannot be called without keyword
new
, but coffeescript 1.x does not know this.hmmm.