Skip to content

ChangeDesc.mapDesc method

ChangeDesc › mapDesc

Official

Map this description over another set of changes.

Signature:

mapDesc(other: ChangeDesc, before?: boolean | undefined): ChangeDesc

Parameters:

Parameter Type Description
other ChangeDesc The other change description.
before? boolean | undefined Whether to map as if this happened before other.

Returns: ChangeDescThe mapped change description.