mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
xadesjs beta
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
interface PromiseFunc {
|
||||
(resolve: (...args: any[]) => void, reject: (...args: any[]) => void): void;
|
||||
}
|
||||
|
||||
declare class Promise {
|
||||
constructor(func: PromiseFunc);
|
||||
|
||||
then(resolve: (...args: any[]) => any): Promise;
|
||||
then(resolve: (...args: any[]) => any, reject: (...args: any[]) => any): Promise;
|
||||
catch(reject: (...args: any[]) => any): void;
|
||||
|
||||
static resolve(...args: any[]): Promise;
|
||||
static reject(...args: any[]): Promise;
|
||||
}
|
||||
Vendored
+1075
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user