Web Development TypeScript Mcq
Oct 04, 2025

How do you extract the return type of a function type?

Choose the correct answer:
A) ReturnType<T>
B) T extends (...args: any[]) => infer R ? R : never
C) Both A and B
D) typeof T
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback