Class TypeScript::ConstructorCallSignatureType

A constructor call signature in a type, that is, a signature with the new keyword.

Direct supertypes

Indirect supertypes

Inherited predicates

getAChildType

Gets a type contained in this signature, that is, the return type or a parameter type.

from CallSignatureType
getAParameter

Gets the type of a parameter of this signature.

from CallSignatureType
getAParameterName

Gets the name of a parameter of this signature.

from CallSignatureType
getChild

Gets the nth type contained in this signature, that is, a parameter or return type.

from CallSignatureType
getKind

Gets a value indicating if this is a function or constructor signature.

from CallSignatureType
getNumOptionalParameter

Gets the number of optional parameters, that is, parameters that are marked as optional with the ? suffix.

from CallSignatureType
getNumParameter

Gets the number of parameters.

from CallSignatureType
getNumRequiredParameter

Gets the number of required parameters, that is, parameters that are not marked as optional with the ? suffix.

from CallSignatureType
getNumTypeParameter

Gets the number of type parameters on this call signature.

from CallSignatureType
getParameter

Gets the type of the nth parameter of this signature.

from CallSignatureType
getParameterName

Gets the name of the nth parameter.

from CallSignatureType
getReturnType

Gets the return type of this signature.

from CallSignatureType
getTypeParameterBound

Gets the bound on the nth type parameter.

from CallSignatureType
getTypeParameterName

Gets the name of the nth type parameter.

from CallSignatureType
hasTypeParameters

Holds if this call signature declares type parameters.

from CallSignatureType
isOptionalParameter

Holds if the nth parameter is declared optional with the ? suffix.

from CallSignatureType
isRequiredParameter

Holds if the nth parameter is required, that is, it is not marked as optional with the ? suffix.

from CallSignatureType
toString

Gets a string representation of this signature.

from CallSignatureType