My current interface looks like this:
interface IWeb3 {
ethereum?: MetaMaskInpageProvider;
provider?: any;
contract?: any;
};
I was able to locate the type for ethereum using
import { MetaMaskInpageProvider } from "@metamask/providers"
, but unfortunately, I couldn't find types for the other properties.