ts-morph-structures

Home > ts-morph-structures > ClassFieldStatementsMap > groupStatementsMap

ClassFieldStatementsMap.groupStatementsMap() method

Get the current set of statements for each statement group, sorted by field name.

Signature:

groupStatementsMap(statementGroup: string): ReadonlyMap<string, ClassFieldStatement[]> | undefined;

Parameters

Parameter Type Description
statementGroup string The statement group owning the statements.

Returns:

ReadonlyMap<string, ClassFieldStatement[]> | undefined