ts-morph-structures

Home > ts-morph-structures > MappedTypeStructureImpl

MappedTypeStructureImpl class

{ readonly [key in keyof Foo]: boolean }

Signature:

export default class MappedTypeStructureImpl extends TypeStructuresWithTypeParameters<TypeStructureKind.Mapped> 

Extends: TypeStructuresWithTypeParameters<TypeStructureKind.Mapped>

Constructors

Constructor Modifiers Description
(constructor)(parameter)   Constructs a new instance of the MappedTypeStructureImpl class

Properties

Property Modifiers Type Description
asName   TypeStructures | undefined  
kind readonly TypeStructureKind.Mapped  
parameter   TypeParameterDeclarationImpl  
questionToken   ”+?” | “-?” | “?” | undefined  
readonlyToken   “+readonly” | “-readonly” | “readonly” | undefined  
type   TypeStructures | undefined  
writerFunction readonly WriterFunction  

Methods

Method Modifiers Description
clone(other) static