On this page

Type Alias InstanceType<T>

InstanceType: T extends abstract new (...args: any) => infer R ? R : any

Obtain the return type of a constructor function type

Type Parameters

  • T extends abstract new (...args: any) => any
Was this helpful?
SDK JS
Reference
InstanceType