Ember Data: fix lint errors.

This commit is contained in:
Chris Krycho
2018-02-12 21:04:26 -07:00
parent 144c2bc8c1
commit 4a213ee174

View File

@@ -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.