UNPKG

@inversifyjs/prototype-utils

Version:

Prototype related utils

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