Skip to main content
Version: 1.0.0-development.2

Module: util/type/constructor

References

default

Renames and re-exports Constructor

Type Aliases

Constructor

Ƭ Constructor<Type, Parameters>: (...parameters: Parameters) => Type & { [hasInstance]?: (value: unknown) => boolean }

A type that represents a constructor.

See

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/constructor

Type parameters

NameType
Typeunknown
Parametersextends unknown[] = unknown[]

Defined in

util/type/constructor.ts:6