Skip to main content

MyInstanceType

MIDDLE

Implement the built-in InstanceType<T> type. InstanceType extracts the instance type from a constructor function type.

Loading editor...

Run your code to see results

Click the Run button above