mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +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
|
@ -68,7 +68,7 @@ PATH=${process.env.PATH}
|
|||
// This also requires considering our settings strategy, which is work which needs doing
|
||||
// @ts-ignore The tracer is private to vscode-languageclient, but we need access to it to not log publishDecorations requests
|
||||
res._tracer = {
|
||||
log: (messageOrDataObject: string | any, data?: string) => {
|
||||
log: (messageOrDataObject: string | unknown, data?: string) => {
|
||||
if (typeof messageOrDataObject === 'string') {
|
||||
if (
|
||||
messageOrDataObject.includes(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue