diff options
author | Veetaha <[email protected]> | 2020-02-02 21:23:01 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-02-02 21:24:09 +0000 |
commit | 2fd7af2a62ce0c8acb5daa6b2c179b638318f31a (patch) | |
tree | 2b51c5ea7f7cbda460ea08c535a2f56489295543 /editors/code/src/commands/syntax_tree.ts | |
parent | 5411d65a7f8b86da46aeef23bb2c707408766135 (diff) |
vscode: use void where possible
Diffstat (limited to 'editors/code/src/commands/syntax_tree.ts')
-rw-r--r-- | editors/code/src/commands/syntax_tree.ts | 2 |
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 562df50cd..211f2251f 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. |
58 | function afterLs(f: () => unknown) { | 58 | function afterLs(f: () => void) { |
59 | setTimeout(f, 10); | 59 | setTimeout(f, 10); |
60 | } | 60 | } |
61 | 61 | ||