ts-morph-structures

Home > ts-morph-structures > TypeMembersMap > moveMembersToType

TypeMembersMap.moveMembersToType() method

Move type members from this map to an interface or type literal, and clear this map.

Signature:

moveMembersToType(owner: InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl): void;

Parameters

Parameter Type Description
owner InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl the target interface or type literal declaration.

Returns:

void