mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-23 11:54:25 +00:00
vscode extension: migrate from any to unknown where possible
This commit is contained in:
parent
4bf5f59560
commit
12d0970f7e
4 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue