import X from 'file'; import Z from 'other_file'; class Y extends Z { constructor() { super(X); } } import X2 from 'file2'; import X3 from 'file3'; class Q extends Z { constructor() { super(X2, X3); } }