📜  打字稿窗口以太坊 - 打字稿代码示例

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

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