mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-06 12:36:49 +08:00
Ember Data: fix lint errors.
This commit is contained in:
4
types/ember-data/index.d.ts
vendored
4
types/ember-data/index.d.ts
vendored
@@ -964,11 +964,11 @@ declare module 'ember-data' {
|
||||
hasMany<L extends keyof ModelRegistry[K]>(
|
||||
keyName: L,
|
||||
options?: { ids: false }
|
||||
): Array<Snapshot<K>['record'][L]> | undefined;
|
||||
): Snapshot<K>['record'][L][] | undefined;
|
||||
hasMany<L extends keyof ModelRegistry[K]>(
|
||||
keyName: L,
|
||||
options: { ids: true }
|
||||
): Array<string> | undefined;
|
||||
): string[] | undefined;
|
||||
/**
|
||||
* Iterates through all the attributes of the model, calling the passed
|
||||
* function on each attribute.
|
||||
|
||||
Reference in New Issue
Block a user