ts-morph-structures

Home > ts-morph-structures > ClassTailStatementsGetter > getTailStatements

ClassTailStatementsGetter.getTailStatements() method

Signature:

getTailStatements(
    key: MemberedStatementsKey,
  ): readonly stringWriterOrStatementImpl[];

Parameters

Parameter Type Description
key MemberedStatementsKey The membered statement key. fieldKey will be ClassFieldStatementsMap.FIELD_TAIL_FINAL_RETURN.

Returns:

readonly stringWriterOrStatementImpl[]

statements to insert after other statements in the purpose block.