We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e702e59 commit dbe6602Copy full SHA for dbe6602
packages/utils/src/syncpromise.ts
@@ -37,21 +37,6 @@ export class SyncPromise<T> implements PromiseLike<T> {
37
}
38
39
40
- /** JSDoc */
41
- public static resolve<T>(value: T | PromiseLike<T>): PromiseLike<T> {
42
- return syncPromiseResolve(value);
43
- }
44
-
45
46
- public static reject<T = never>(reason?: any): PromiseLike<T> {
47
- return syncPromiseReject(reason);
48
49
50
51
- public static all<U = any>(collection: Array<U | PromiseLike<U>>): PromiseLike<U[]> {
52
- return syncPromiseAll(collection);
53
54
55
/** JSDoc */
56
public then<TResult1 = T, TResult2 = never>(
57
onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
0 commit comments