MetaMask / utils

Various JavaScript / TypeScript utilities of wide relevance to the MetaMask codebase.
https://metamask.github.io/utils/index.html
ISC License
30 stars 9 forks source link

`InferWithParams` resolves to `any` #179

Closed mcmire closed 5 months ago

mcmire commented 5 months ago

If you hover over InferWithParams you will see that it resolves to any. This causes anything using InferWithParams to also resolve to any. This may be due to the fact that we are passing any to Struct. Passing unknown or unknown, unknown does not fix the error. We'll have to investigate this.

mcmire commented 5 months ago

Hmm, after investigation, this problem seems to come up in the extension. It does not come up in the context of this repo. So something else seems to be going on here, but it doesn't seem to be the fault of this package.