2
0
mirror of synced 2025-02-24 03:58:06 +00:00
ethers.js/packages/web/thirdparty.d.ts

18 lines
449 B
TypeScript
Raw Normal View History

2019-05-14 18:25:46 -04:00
declare module "xmlhttprequest" {
export class XMLHttpRequest {
readyState: number;
status: number;
responseText: string;
constructor();
open(method: string, url: string, async?: boolean): void;
setRequestHeader(key: string, value: string): void;
send(body?: string): void;
abort(): void;
onreadystatechange: () => void;
onerror: (error: Error) => void;
}
}