ReturnType<T>

Term side of the Card
Topic: Utility Types
Unit title: ReturnType<T>
Categories: Utility type
Explanation side of the Card

Explanation: The utility type that retrieves the return type of a function. Useful for inferring the output type without manually specifying it.

Edit on GitHubContributions in our content repository are 🤗 welcome from everyone.Link leads to the Contributions guidelines on GitHubLink leads to the content repository on GitHub