Home > ts-morph-structures > MemberedTypeToClass > importFromMemberedType
Define class members for a membered object type or interface.
Signature:
importFromMemberedType(isStatic: boolean, membered: InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl): void;
Parameter | Type | Description |
---|---|---|
isStatic | boolean | true if the class members are static. |
membered | InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl | the interface or membered object type. |
Returns:
void