Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a mapped type.

{ -readonly [K in keyof U & string as `a${K}`]?: Foo }

Hierarchy

Index

Constructors

  • new MappedType(parameter: string, parameterType: Type, templateType: Type, readonlyModifier?: "-" | "+", optionalModifier?: "-" | "+", nameType?: Type): MappedType

Properties

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

The type name identifier.

Methods

  • toString(): string

Generated using TypeDoc