refactor: remove electron-related code
This commit is contained in:
parent
bed8df06e8
commit
2b1e6fe8f5
200 changed files with 2771 additions and 8432 deletions
16
src/index.d.ts
vendored
Normal file
16
src/index.d.ts
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue