📜  窗口以太坊类型 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:28.641000             🧑  作者: Mango

代码示例1
declare global {
  interface Window {
    ethereum: any;
    web3: any;
  }
} // just a workaround while actual types gets implemented