You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a bunch of any usages that seem to hide the fact that the promise may return undefined. I suggest to remove the use of any in code as it bypasses the type checking of TypeScript entirely. If the type is really not known, rather use unknown instead and require casts at the place where it is being used.
The text was updated successfully, but these errors were encountered:
Looking into the following method:
vscode/src/vs/base/parts/quickinput/browser/quickInput.ts
Line 1184 in 076a17f
There are a bunch of
any
usages that seem to hide the fact that the promise may returnundefined
. I suggest to remove the use ofany
in code as it bypasses the type checking of TypeScript entirely. If the type is really not known, rather useunknown
instead and require casts at the place where it is being used.The text was updated successfully, but these errors were encountered: