Represents a mapped type.

{ -readonly [K in Parameter as Name]?: Template }

Hierarchy (View Summary)

Constructors

Methods

  • Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.

    Returns string

Properties

parameter: string
parameterType: Models.SomeType
templateType: Models.SomeType
type: "mapped"

The type name identifier.

nameType?: Models.SomeType
optionalModifier?: "+" | "-"
readonlyModifier?: "+" | "-"