Skip to content

Commit ca40bbd

Browse files
Merge pull request #164 from suttna/fix-missing-reload-method
Fix Model#reload IFindOptions
2 parents 1edcf24 + 8171a0d commit ca40bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/models/Model.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ export declare abstract class Model<T> extends Hooks {
579579
* return a new instance. With this method, all references to the Instance are updated with the new data
580580
* and no new objects are created.
581581
*/
582-
reload(options?: IFindOptions): Promise<this>;
582+
reload(options?: IFindOptions<this>): Promise<this>;
583583

584584
/**
585585
* Validate the attribute of this instance according to validation rules set in the model definition.

0 commit comments

Comments
 (0)