Skip to content

Commit 5e536cc

Browse files
committed
remove unused type
1 parent 37b7f1a commit 5e536cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jsutils/after.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { PromiseOrValue } from './PromiseOrValue';
22

3-
export async function after<T, U, R = T>(
3+
export async function after<T, R>(
44
promise: Promise<T>,
55
onFulfilled: (value: T) => PromiseOrValue<R>,
6-
): Promise<R | U> {
6+
): Promise<R> {
77
return onFulfilled(await promise);
88
}

0 commit comments

Comments
 (0)