missing return type

This commit is contained in:
Miodec 2022-02-11 23:39:28 +01:00
parent 63d9287a3a
commit bfdd86b7e8

View file

@ -5,7 +5,7 @@ import * as ActivePage from "../states/active-page";
let state = false;
export function set(foc: boolean, withCursor = false) {
export function set(foc: boolean, withCursor = false): void {
if (foc && !state) {
state = true;
Caret.stopAnimation();