mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #22401 from mike-north/patch-1
[@types/ember-data] Snapshot#hasMany, #belongsTo options -> optional
This commit is contained in:
Vendored
+2
-2
@@ -947,12 +947,12 @@ declare module "ember-data" {
|
||||
*/
|
||||
belongsTo(
|
||||
keyName: string,
|
||||
options: {}
|
||||
options?: {}
|
||||
): Snapshot | string | null | undefined;
|
||||
/**
|
||||
* Returns the current value of a hasMany relationship.
|
||||
*/
|
||||
hasMany(keyName: string, options: {}): any[] | undefined;
|
||||
hasMany(keyName: string, options?: {}): any[] | undefined;
|
||||
/**
|
||||
* Iterates through all the attributes of the model, calling the passed
|
||||
* function on each attribute.
|
||||
|
||||
Reference in New Issue
Block a user