work.suroh.tk/node_modules/rxjs/util/isPromise.d.ts

2 lines
84 B
TypeScript

export declare function isPromise<T>(value: any | Promise<T>): value is Promise<T>;