Skip to content

Commit dbe6602

Browse files
committed
remove static methods
1 parent e702e59 commit dbe6602

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/utils/src/syncpromise.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,6 @@ export class SyncPromise<T> implements PromiseLike<T> {
3737
}
3838
}
3939

40-
/** JSDoc */
41-
public static resolve<T>(value: T | PromiseLike<T>): PromiseLike<T> {
42-
return syncPromiseResolve(value);
43-
}
44-
45-
/** JSDoc */
46-
public static reject<T = never>(reason?: any): PromiseLike<T> {
47-
return syncPromiseReject(reason);
48-
}
49-
50-
/** JSDoc */
51-
public static all<U = any>(collection: Array<U | PromiseLike<U>>): PromiseLike<U[]> {
52-
return syncPromiseAll(collection);
53-
}
54-
5540
/** JSDoc */
5641
public then<TResult1 = T, TResult2 = never>(
5742
onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,

0 commit comments

Comments
 (0)