Skip to content

Type Alias: Constructor()<T>

ts
type Constructor<T> = (...args: any[]) => T;

Constructor type for controllers

Type Parameters

Type ParameterDefault type
T{ }

Parameters

ParameterType
...argsany[]

Returns

T