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