@jimka/typescript-ui / core / Callable
Type Alias: Callable<T>
ts
type Callable<T> = T & (...args: ConstructorParameters<T>) => InstanceType<T>;Defined in: src/typescript/lib/core/Callable.ts:10
Class type intersected with a call signature whose arguments and return type mirror its constructor. Allows callers to invoke a wrapped class without the new keyword while preserving new, instanceof, and extends semantics.
Type Parameters
• T extends (...args: any[]) => any