add modify to the Selection interface

This commit is contained in:
ANH 2020-08-11 03:32:58 +03:00
parent 46573df890
commit 2ef846b09f

View File

@ -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) {