diff --git a/index.d.ts b/index.d.ts index 95618a0..81caafa 100644 --- a/index.d.ts +++ b/index.d.ts @@ -7,9 +7,9 @@ declare module 'collect.js' { constructor(collection?: Item[] | Object); /** - * The all method returns the underlying array represented by the collection. + * The all method returns the underlying array or object represented by the collection. */ - all(): Item[]; + all(): Item[] | Record; /** * Alias for the avg() method.