6 lines
No EOL
130 B
TypeScript
6 lines
No EOL
130 B
TypeScript
interface PromiseConstructor {
|
|
new <T>(): Promise<T>;
|
|
}
|
|
declare var Promise: PromiseConstructor;
|
|
interface Promise<T> {
|
|
} |