As ember allows multiple core object arguments while extending any Ember object, I suppose the type definition for "extend" function should follow the rest parameter syntax of typescript as shown below.
class Object extends CoreObject implements Observable {
/**
Creates a subclass of the Object class.
**/
static extend<T>(...arguments?: CoreObjectArguments[]): T;
}
instead of the current type definition which doesnot allow extending from multiple classes
class Object extends CoreObject implements Observable {
/**
Creates a subclass of the Object class.
**/
static extend<T>(arguments?: CoreObjectArguments): T;
}
As ember allows multiple core object arguments while extending any Ember object, I suppose the type definition for "extend" function should follow the rest parameter syntax of typescript as shown below.
instead of the current type definition which doesnot allow extending from multiple classes