Skip to content

Commit

Permalink
Allow compatibility with Custom Item Attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
arcaela authored May 26, 2024
1 parent 44d689b commit ebb8278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export enum alias {
}


export default class Collection<I extends IObject = IObject, M = {}> extends Array<I> {
export default class Collection<I, M = {}> extends Array<I> {

[K: string]: any
private readonly query: (query: Query<M>) => (item: Partial<I>) => boolean = null as any
Expand Down Expand Up @@ -712,4 +712,4 @@ export default class Collection<I extends IObject = IObject, M = {}> extends Arr
}


export { Collection }
export { Collection }

0 comments on commit ebb8278

Please sign in to comment.