Skip to main content

MyReturnType

MIDDLE

Implement the built-in ReturnType<T> type. ReturnType extracts the return type from a function type.

Loading editor...

Run your code to see results

Click the Run button above