Home > ts-morph-structures > ConstructorTailStatementsGetter > getCtorTailStatements
Signature:
getCtorTailStatements(
key: MemberedStatementsKey,
): readonly stringWriterOrStatementImpl[];
Parameter | Type | Description |
---|---|---|
key | MemberedStatementsKey | The membered statement key. fieldKey will be ClassFieldStatementsMap.FIELD_TAIL_FINAL_RETURN . statementGroupKey will be “constructor”. |
Returns:
readonly stringWriterOrStatementImpl[]
statements to insert before other statements in the purpose block.