mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Add index signature to 'CoreObjectArguments' in 'ember'.
This commit is contained in:
4
ember/ember.d.ts
vendored
4
ember/ember.d.ts
vendored
@@ -349,6 +349,8 @@ interface CoreObjectArguments {
|
||||
Override to implement teardown.
|
||||
**/
|
||||
willDestroy?: Function;
|
||||
|
||||
[propName: string]: any;
|
||||
}
|
||||
|
||||
interface EnumerableConfigurationOptions {
|
||||
@@ -998,7 +1000,7 @@ declare module Ember {
|
||||
@static
|
||||
@param {Object} [args] - Object containing values to use within the new class
|
||||
**/
|
||||
static extend<T>(args ?: CoreObjectArguments): T;
|
||||
static extend<T>(args?: CoreObjectArguments): T;
|
||||
/**
|
||||
Creates a new subclass.
|
||||
@method extend
|
||||
|
||||
Reference in New Issue
Block a user