Skip to content

Commit

Permalink
Merge pull request #201 from intellix/assocation-typing
Browse files Browse the repository at this point in the history
add static associations property to Model typing (closes #199)
  • Loading branch information
RobinBuschmann committed Nov 20, 2017
2 parents 0fbad98 + ea9e51c commit 46ae4ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/models/Model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export declare abstract class Model<T> extends Hooks {

static isInitialized: boolean;

static associations?: { [key: string]: any };

/**
* Remove attribute from model definition
*
Expand Down

0 comments on commit 46ae4ca

Please sign in to comment.