Home > ts-morph-structures > MappedTypeStructureImpl
{ readonly [key in keyof Foo]: boolean }
Signature:
export default class MappedTypeStructureImpl extends TypeStructuresWithTypeParameters<TypeStructureKind.Mapped>
Extends: TypeStructuresWithTypeParameters<TypeStructureKind.Mapped>
Constructor | Modifiers | Description |
---|---|---|
(constructor)(parameter) | Constructs a new instance of the MappedTypeStructureImpl class |
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 |
Method | Modifiers | Description |
---|---|---|
clone(other) | static |