Replies: 2 comments 2 replies
-
@mrdulin type MyAwaited<T extends PromiseLike<unknown>> = T extends PromiseLike<infer V> ? MyAwaited<V> : T |
Beta Was this translation helpful? Give feedback.
2 replies
-
I know. That's why I gave you the recursion hint. If this is not enough for you, then you can also work with the solutions of the other users here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's so weird. I can't think of any way.
Got error:
So I think I didn't pass the error test case.
TS Playground
Beta Was this translation helpful? Give feedback.
All reactions