Merge pull request #4674 from Warkot/patch-1

fix argument typing for Mixin.create in ember.d.ts
This commit is contained in:
Masahiro Wakame
2015-06-23 01:54:04 +09:00
+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>(args: {}): T;
static create<T extends Mixin>(...arguments: CoreObjectArguments[]): T;
detect(obj: any): boolean;
reopen<T extends Mixin>(args?: {}): T;
}