Class MappedType

Represents a mapped type.

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

Hierarchy

Constructors

Properties

parameter: string
parameterType: SomeType
templateType: SomeType
type: "mapped" = "mapped"

The type name identifier.

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

Methods

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

    Returns string

Generated using TypeDoc