CustomConstructor
Type Alias: CustomConstructor<T, K>
CustomConstructor<
T,K> = new (...args) =>T
Defined in: packages/utils/src/types.ts:115
A constructor that produces instances of T and accepts a specific argument list K.
Unlike Constructor, the argument list is fully customisable and defaults to an empty tuple.
Type Parameters
T
T
K
K extends any[] = []
Parameters
args
...K
Returns
T