KC's Workspace
    Preparing search index...

    Represents a mapped type.

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    nameType?: SomeType
    optionalModifier?: "+" | "-"
    parameter: string
    parameterType: SomeType
    readonlyModifier?: "+" | "-"
    templateType: SomeType
    type: "mapped"

    The type name identifier.

    Methods

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

      Returns string