type of argument list elements for Mixin.create

This commit is contained in:
Mateusz Warkocki
2015-06-18 19:03:38 +02:00
parent 4185303285
commit f7ac2d7969
+1 -1
View File
@@ -1420,7 +1420,7 @@ declare module Ember {
Creates an instance of the class.
@param arguments A hash containing values with which to initialize the newly instantiated object.
**/
static create<T extends Mixin>(...arguments: []): T;
static create<T extends Mixin>(...arguments: CoreObjectArguments[]): T;
detect(obj: any): boolean;
reopen<T extends Mixin>(args?: {}): T;
}