Skip to content

Commit

Permalink
fix(types): add instance.dataValues property to model.d.ts (#15240)
Browse files Browse the repository at this point in the history
  • Loading branch information
spearmootz committed Nov 5, 2022
1 parent bf98d7c commit 00c6da3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1866,6 +1866,11 @@ export abstract class Model<TModelAttributes extends {} = any, TCreationAttribut
*/
_attributes: TModelAttributes; // TODO [>6]: make this a non-exported symbol (same as the one in hooks.d.ts)

/**
* Object that contains underlying model data
*/
dataValues: TModelAttributes;

/**
* A similar dummy variable that doesn't exist on the real object. Do not
* try to access this in real code.
Expand Down

0 comments on commit 00c6da3

Please sign in to comment.