Home > ts-morph-structures > MemberedObjectTypeStructureImpl
Properties, methods, getters, setters, and index signatures. Very much like interfaces. Usually in type aliases.
Signature:
export default class MemberedObjectTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.MemberedObject>
Extends: TypeStructuresBase<TypeStructureKind.MemberedObject>
{
(callSignatureArgument) => string;
new (constructSignatureArgument) => ClassName;
get getterName(): symbol;
[indexSignatureKey: string]: boolean;
property: number;
method(): void;
set setterName(value: symbol);
}
Constructor | Modifiers | Description |
---|---|---|
(constructor)() | Constructs a new instance of the MemberedObjectTypeStructureImpl class |
Property | Modifiers | Type | Description |
---|---|---|---|
callSignatures | readonly |
CallSignatureDeclarationImpl[] | |
constructSignatures | readonly |
ConstructSignatureDeclarationImpl[] | |
getAccessors | readonly |
GetAccessorDeclarationImpl[] | |
indexSignatures | readonly |
IndexSignatureDeclarationImpl[] | |
kind | readonly |
(not declared) | |
methods | readonly |
MethodSignatureImpl[] | |
properties | readonly |
PropertySignatureImpl[] | |
setAccessors | readonly |
SetAccessorDeclarationImpl[] | |
writerFunction | (writer: CodeBlockWriter) => void |
Method | Modifiers | Description |
---|---|---|
clone(other) | static |