Skip to content

Commit 46ae4ca

Browse files
Merge pull request #201 from intellix/assocation-typing
add static associations property to Model typing (closes #199)
2 parents 0fbad98 + ea9e51c commit 46ae4ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/models/Model.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export declare abstract class Model<T> extends Hooks {
2828

2929
static isInitialized: boolean;
3030

31+
static associations?: { [key: string]: any };
32+
3133
/**
3234
* Remove attribute from model definition
3335
*

0 commit comments

Comments
 (0)