vscode extension: migrate from any to unknown where possible

This commit is contained in:
Veetaha 2020-02-02 22:19:59 +02:00
parent 4bf5f59560
commit 12d0970f7e
4 changed files with 9 additions and 9 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: () => any) {
function afterLs(f: () => unknown) {
setTimeout(f, 10);
}