ts-morph-structures

Home > ts-morph-structures > ClassBodyStatementsGetter > getBodyStatements

ClassBodyStatementsGetter.getBodyStatements() method

Signature:

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

Parameters

Parameter Type Description
key MemberedStatementsKey The membered statement key.

Returns:

readonly stringWriterOrStatementImpl[]

statements to insert for the given field key and statement group key.