From ebb82788f944b32067c6b26b5856225534bd2417 Mon Sep 17 00:00:00 2001 From: Miguel A Guevara R Date: Sun, 26 May 2024 16:04:20 -0400 Subject: [PATCH] Allow compatibility with Custom Item Attributes --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 771b8d1..d310650 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,7 +15,7 @@ export enum alias { } -export default class Collection extends Array { +export default class Collection extends Array { [K: string]: any private readonly query: (query: Query) => (item: Partial) => boolean = null as any @@ -712,4 +712,4 @@ export default class Collection extends Arr } -export { Collection } \ No newline at end of file +export { Collection }