Home > ts-morph-structures > ClassMembersMap > convertTypeMembers
Creata an array of class members from an array of type members,
Signature:
static convertTypeMembers(isStatic: boolean, typeMembers: NamedTypeMemberImpl[], map?: WeakMap<ClassMemberImpl, TypeMemberImpl>): NamedClassMemberImpl[];
Parameter | Type | Description |
---|---|---|
isStatic | boolean | true if the class members should be static, false if they should not be. |
typeMembers | NamedTypeMemberImpl[] | the type members to convert. |
map | WeakMap<ClassMemberImpl, TypeMemberImpl> | (Optional) for defining which type member a class member comes from. |
Returns: