You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
571 B

/**
* Ambient augmentations (no imports — must stay a script so these merge into global scope).
* Runtime polyfills live in {@link ./polyfill.ts}; target lib is ES2020.
*/
interface Array<T> {
findLast(predicate: (value: T, index: number, obj: T[]) => boolean, thisArg?: any): T | undefined
}
interface PromiseConstructor {
any<T>(promises: Array<T | PromiseLike<T>>): Promise<T>
}
interface AggregateError extends Error {
errors: any[]
}
declare const AggregateError: {
prototype: AggregateError
new (errors: any[], message?: string): AggregateError
}