I am using objection 3.0.0
I want to use OrderBy which now it has 3 arguments as specified in the Knex doc
The type OrderByDescriptor is missing the option nulls
Objection index.d.ts
interface OrderByDescriptor {
column: ColumnRef;
order?: OrderByDirection;
}
type ColumnRefOrOrderByDescriptor = ColumnRef | OrderByDescriptor;
interface OrderByMethod<QB extends AnyQueryBuilder> {
(column: ColumnRef, order?: OrderByDirection): QB;
(columns: ColumnRefOrOrderByDescriptor[]): QB;
}