Type alias SortFallback<T, A>
Sort
Fallback
<T, A>: ((a
: T, b
: T, entryA
: T extends default ? undefined : number, entryB
: T extends default ? undefined : number, stringA
: string, stringB
: string,
...args
: A) => number)
Type Parameters
-
T = any
-
A extends any[] = any[]
Type declaration
-
- (a: T, b: T, entryA: T extends default ? undefined : number, entryB: T extends default ? undefined : number, stringA: string, stringB: string, ...args: A): number
-
Parameters
-
a: T
-
b: T
-
entryA: T extends default ? undefined : number
-
entryB: T extends default ? undefined : number
-
stringA: string
-
stringB: string
-
Rest
...args: A
Returns number