ts-morph-structures

Home > ts-morph-structures > ClassMembersMap > addMembers

ClassMembersMap.addMembers() method

Add class members as values of this map, using standard keys.

Signature:

addMembers(members: readonly ClassMemberImpl[]): void;

Parameters

Parameter Type Description
members readonly ClassMemberImpl[] the class members to add.

Returns:

void