ts-morph-structures

Home > ts-morph-structures > MemberedTypeToClass > addStatementGetters

MemberedTypeToClass.addStatementGetters() method

Add statement getters to this.

Signature:

addStatementGetters(priority: number, statementGetters: readonly ClassStatementsGetter[]): void;

Parameters

Parameter Type Description
priority number a number indicating the priority of the getters (lower numbers beat higher numbers).
statementGetters readonly ClassStatementsGetter[] the statement getters to insert.

Returns:

void