UNPKG

@inversifyjs/prototype-utils

Version:

Prototype related utils

10 lines (6 loc) 260 B
import { Newable } from '@inversifyjs/common'; declare function getBaseType<TInstance, TArgs extends unknown[]>(type: Newable<TInstance, TArgs>): Newable | undefined; interface Prototype { constructor: Newable; } export { type Prototype, getBaseType };