import {C} from 'ts-toolbelt'
/// `create` takes an instance constructor and creates an instance of it
declare function create<C extends (new (...args: any[]) => any)>(c: C): C.InstanceOf<C>
class A {}
class B {}
let a = create(A) // A
let b = create(B) // B
Get the instance type of a
class
from a class object