From 00206d6b18bcac8bc81df36b96da1510adf9bd62 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Sun, 30 Jun 2024 14:25:29 +0200 Subject: [PATCH] Fix confused doc comment --- src/change.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/change.ts b/src/change.ts index 9155a41..c17dab3 100644 --- a/src/change.ts +++ b/src/change.ts @@ -99,7 +99,7 @@ export class ChangeDesc { /// Map this description, which should start with the same document /// as `other`, over another set of changes, so that it can be /// applied after it. When `before` is true, map as if the changes - /// in `other` happened before the ones in `this`. + /// in `this` happened before the ones in `other`. mapDesc(other: ChangeDesc, before = false): ChangeDesc { return other.empty ? this : mapSet(this, other, before) } /// Map a given position through these changes, to produce a