Skip to content

ParameterDescriptorBase

Common properties for ParameterDescriptor and FunctionTypeParameterDescriptor.

Members

docoptionalChildren

Documentation for the parameter.

metadataoptionalRecord<string, unknown>

Arbitrary metadata for the parameter symbol.

namestring

The name of the parameter.

nullishoptionalboolean

Whether the parameter is can be null or undefined. when optional is true, this will be set to true by default, but explicitly setting this to false will override that.

optionaloptionalboolean

Whether the parameter is optional.

refkeyoptionalRefkey | Refkey[]

The refkey for this parameter.

restoptionalboolean

Weather the parameter is rest parameter.

typeoptionalChildren

The type of the parameter.