Commit 15a42c9
committed
fix: mark clearHistory as optional in MindElixirInstance
clearHistory is only registered by the operationHistory plugin, which is
skipped when allowUndo is false. Declaring it as a required method would
be a type-runtime mismatch. Mark it optional and update the JSDoc to
mention the allowUndo prerequisite.1 parent 601dc4b commit 15a42c9
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | | - | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
0 commit comments