Skip to content

Commit

Permalink
fix: abstractRecord type (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-moncel authored Jul 8, 2021
1 parent ff30e43 commit 81492b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ interface RecordsSerialized {
}

export class AbstractRecordTool<M extends Sequelize.Model> {
constructor(model: Sequelize.ModelCtor<M>, query: Record<string, any>, user: User)
constructor(model: Sequelize.ModelCtor<M>, user: User, query: Record<string, any>)
serialize(records: M | M[]): Promise<RecordsSerialized>;
}

Expand Down

0 comments on commit 81492b9

Please sign in to comment.