Skip to content

Commit

Permalink
typescript issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sokomari committed Oct 18, 2024
1 parent f23f456 commit 9e2a30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class EditSession {
this.$backMarkers = {};
this.$markerId = 1;
this.$undoSelect = true;
this.curOp = null;
this.prevOp = {};

/** @type {FoldLine[]} */
Expand Down Expand Up @@ -88,6 +87,7 @@ class EditSession {
}

$initOperationListeners() {
this.curOp = null;
this.on("change", () => {
if (!this.curOp) {
this.startOperation();
Expand Down

0 comments on commit 9e2a30c

Please sign in to comment.