Skip to content

Commit 56fbac3

Browse files
fix: abstractRecord type (#624)
1 parent fcff5e7 commit 56fbac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ interface RecordsSerialized {
5353
}
5454

5555
export class AbstractRecordTool<T> {
56-
constructor(model: Model<T>, query: Record<string, any>, user: User)
56+
constructor(model: Model<T>, user: User, query: Record<string, any>)
5757
serialize(records: Document<T> | Document<T>[]): Promise<RecordsSerialized>;
5858
}
5959

0 commit comments

Comments
 (0)