Home > ts-morph-structures > TypeMembersMap > moveMembersToType
Move type members from this map to an interface or type literal, and clear this map.
Signature:
moveMembersToType(owner: InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl): void;
Parameter | Type | Description |
---|---|---|
owner | InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl | the target interface or type literal declaration. |
Returns:
void