diff --git a/qt/ts/src/editor.ts b/qt/ts/src/editor.ts index 0dca144d0..8d1443638 100644 --- a/qt/ts/src/editor.ts +++ b/qt/ts/src/editor.ts @@ -47,6 +47,10 @@ function triggerKeyTimer() { }, 600); } +interface Selection { + modify(s: string, t: string, u: string): void; +} + function onKey(evt: KeyboardEvent) { // esc clears focus, allowing dialog to close if (evt.which === 27) {