aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-02 20:19:59 +0000
committerVeetaha <[email protected]>2020-02-02 20:19:59 +0000
commit12d0970f7e4c4d7f91cccb12525fceea3c4c0669 (patch)
tree60776beb4fa5564c17d528c088e484e14ffd06dd /editors/code/src/commands
parent4bf5f595604c2c3fa0ca981a843d04a8732dabf9 (diff)
vscode extension: migrate from any to unknown where possible
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r--editors/code/src/commands/syntax_tree.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/syntax_tree.ts b/editors/code/src/commands/syntax_tree.ts
index 02ea9f166..562df50cd 100644
--- a/editors/code/src/commands/syntax_tree.ts
+++ b/editors/code/src/commands/syntax_tree.ts
@@ -55,7 +55,7 @@ export function syntaxTree(ctx: Ctx): Cmd {
55 55
56// We need to order this after LS updates, but there's no API for that. 56// We need to order this after LS updates, but there's no API for that.
57// Hence, good old setTimeout. 57// Hence, good old setTimeout.
58function afterLs(f: () => any) { 58function afterLs(f: () => unknown) {
59 setTimeout(f, 10); 59 setTimeout(f, 10);
60} 60}
61 61