13 lines
299 B
TypeScript
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'
|