hiCity-nft/src/react-app-env.d.ts

13 lines
299 B
TypeScript

/// <reference types="react-scripts" />
interface Window {
ethereum?: {
isMetaMask?: true
request?: (...args: any[]) => Promise<void>
}
BinanceChain?: {
bnbSign?: (address: string, message: string) => Promise<{ publicKey: string; signature: string }>
}
}
declare module 'axios'