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
Name | Type |
---|---|
Type | unknown |
Parameters | extends unknown [] = unknown [] |