ts-morph-structures

Home > ts-morph-structures > MemberedTypeToClass > importFromTypeMembersMap

MemberedTypeToClass.importFromTypeMembersMap() method

Define class members for a map of given type members (constructor, property, method, getter, setter).

Signature:

importFromTypeMembersMap(isStatic: boolean, membersMap: TypeMembersMap): void;

Parameters

Parameter Type Description
isStatic boolean true if the class members are static.
membersMap TypeMembersMap the type members map for conversion to class members.

Returns:

void