diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index 2fcf1c8ed2..4f93abd63f 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -964,11 +964,11 @@ declare module 'ember-data' { hasMany( keyName: L, options?: { ids: false } - ): Array['record'][L]> | undefined; + ): Snapshot['record'][L][] | undefined; hasMany( keyName: L, options: { ids: true } - ): Array | undefined; + ): string[] | undefined; /** * Iterates through all the attributes of the model, calling the passed * function on each attribute.