vscode: use void where possible

This commit is contained in:
Veetaha 2020-02-02 23:23:01 +02:00
parent 5411d65a7f
commit 2fd7af2a62
3 changed files with 9 additions and 5 deletions

View file

@ -55,7 +55,7 @@ export function syntaxTree(ctx: Ctx): Cmd {
// We need to order this after LS updates, but there's no API for that.
// Hence, good old setTimeout.
function afterLs(f: () => unknown) {
function afterLs(f: () => void) {
setTimeout(f, 10);
}