| 1 | type Falsy = false | 0 | "" | null | undefined; |
| 2 | |
| 3 | interface Array<T> { |
| 4 | /** |
| 5 | * Returns the elements of an array that meet the condition specified in a callback function. |
| 6 | * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. |
| 7 | * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |
| 8 | */ |
| 9 | filter<S extends T>(predicate: BooleanConstructor, thisArg?: any): Exclude<S, Falsy>[]; |
| 10 | } |
| 11 | |
| 12 | // See this for more: https://twitter.com/mattpocockuk/status/1653403198885904387?s=20 |
| 13 | export type Prettify<T> = { |
no outgoing calls
no test coverage detected
searching dependent graphs…