Skip to content

Constructor

Constructor<T>: (…args) => T

Defined in: utils/types.ts:8

A generic constructor type.

Type Parameters

T = NonNullable<unknown>

The type of the instance that the constructor creates.

Parameters

args

any[]

Returns

T