Home > ts-morph-structures > AccessorMirrorGetter > getAccessorMirror
Signature:
getAccessorMirror(
key: MemberedStatementsKey,
): stringWriterOrStatementImpl | undefined;
| Parameter | Type | Description |
|---|---|---|
| key | MemberedStatementsKey | Describing the getter or setter to implement. statementGroupKey will be ClassFieldStatementsMap.GROUP_INITIALIZER_OR_PROPERTY. |
Returns:
stringWriterOrStatementImpl | undefined
the value to write for the getter and/or setter to mirror.