Home > ts-morph-structures > ConstructorBodyStatementsGetter > getCtorBodyStatements
Signature:
getCtorBodyStatements(
key: MemberedStatementsKey,
): readonly stringWriterOrStatementImpl[];
Parameter | Type | Description |
---|---|---|
key | MemberedStatementsKey | The membered statement key. statementGroupKey will be “constructor”. |
Returns:
readonly stringWriterOrStatementImpl[]
statements to insert for the given field key and statement group key.