Skip to content

Commit a455603

Browse files
authored
Merge pull request #850 from GorodentsevD/find-conditions-type-fix
Added offset prop for find options
2 parents c6d5d81 + 12c515f commit a455603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/TypeScript/orm.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ declare module "orm" {
2424
find(conditions: { [property: string]: any }, callback: (err: Error, results: Instance[]) => void): Model;
2525
find(conditions: { [property: string]: any }, options: {
2626
limit?: number;
27+
offset?: number;
2728
order?: any;
2829
}, callback: (err: Error, results: Instance[]) => void): Model;
2930
find(conditions: { [property: string]: any }, limit: number, order: string[], callback: (err: Error, results: Instance[]) => void): Model;

0 commit comments

Comments
 (0)