Home > ts-morph-structures > TypeMembersMap > fromMemberedObject
Create a TypeMembersMap
from an interface or membered object.
Signature:
static fromMemberedObject(membered: InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl): TypeMembersMap;
Parameter | Type | Description |
---|---|---|
membered | InterfaceDeclarationImpl | MemberedObjectTypeStructureImpl | the membered object. |
Returns:
the type members map.