Home > ts-morph-structures > ClassFieldStatementsMap > set
Set a statements for a key set.
Signature:
set(fieldName: string, statementGroup: string, statements: ClassFieldStatement[]): this;
Parameter | Type | Description |
---|---|---|
fieldName | string | The class field name for the statements. |
statementGroup | string | The statement group owning the statements. |
statements | ClassFieldStatement[] | The statements. |
Returns:
this
This collection.