File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const INDEXOF_REGEX = /(?!indexof)\((\w+)\)/;
1717
1818export type PlainObject = { [ property : string ] : any } ;
1919export type Select < T > = string | keyof T | Array < keyof T > ;
20- export type NestedOrderBy < T > = { [ P in keyof T ] ?: T [ P ] extends Array < infer E > ? OrderBy < E > : OrderBy < T > }
20+ export type NestedOrderBy < T > = { [ P in keyof T ] ?: T [ P ] extends Array < infer E > ? OrderBy < E > : OrderBy < T [ P ] > }
2121export type OrderBy < T > = string | OrderByOptions < T > | Array < OrderByOptions < T > > | NestedOrderBy < T > ;
2222export type Filter = string | PlainObject | Array < string | PlainObject > ;
2323export type NestedExpandOptions < T > = { [ P in keyof T ] ?: ( T [ P ] extends Array < infer E > ? Partial < ExpandOptions < E > > : Partial < ExpandOptions < T [ P ] > > ) } ;
You can’t perform that action at this time.
0 commit comments