Skip to content

Commit 4302356

Browse files
Merge pull request sequelize#269 from vologab/fix_changed_arguments
fix Model.changed method arguments description
2 parents 1462de9 + b123b3b commit 4302356

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
@@ -573,7 +573,7 @@ export declare abstract class Model<T extends Model<T>> extends Hooks {
573573
*
574574
* If changed is called without an argument and no keys have changed, it will return `false`.
575575
*/
576-
changed(key: string): boolean;
576+
changed(key: string, value?: any): boolean;
577577
changed(): boolean | string[];
578578

579579
/**

0 commit comments

Comments
 (0)