Skip to content

Commit ea9e51c

Browse files
author
Dominic Watson
committed
add static associations property to Model typing (closes #199)
1 parent 0fbad98 commit ea9e51c

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)