ts-morph-structures

Home > ts-morph-structures > TypeMembersMap > fromMemberedObject

TypeMembersMap.fromMemberedObject() method

Create a TypeMembersMap from an interface or membered object.

Signature:

static fromMemberedObject(membered: InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl): TypeMembersMap;

Parameters

Parameter Type Description
membered InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl the membered object.

Returns:

TypeMembersMap

the type members map.