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 257fe08 commit d5895dbCopy full SHA for d5895db
packages/utils/src/syncpromise.ts
@@ -33,16 +33,6 @@ export class SyncPromise<T> implements PromiseLike<T> {
33
}
34
35
36
- /** JSDoc */
37
- public static resolve<T>(value: T | PromiseLike<T>): PromiseLike<T> {
38
- return syncPromiseResolve(value);
39
- }
40
-
41
42
- public static reject<T = never>(reason?: any): PromiseLike<T> {
43
- return syncPromiseReject(reason);
44
45
46
/** JSDoc */
47
public then<TResult1 = T, TResult2 = never>(
48
onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
0 commit comments