Shouldn't havingNull and friends be declared as WhereNullMethod not WhereMethod ?
|
havingNull: WhereMethod<this>; |
|
orHavingNull: WhereMethod<this>; |
|
havingNotNull: WhereMethod<this>; |
|
orHavingNotNull: WhereMethod<this>; |
Currently, this code doesn't compile with typing errors:
MyModel.query().havingNull('foo')
Same issue for other having methods, they should be declared as WhereInMethod, WhereExistsMethod, etc.