@geckos.io/phaser-on-nodejs
Version:
Allows you to run Phaser 3 games (including Phaser's physics engines) on Node.js.
13 lines • 394 B
TypeScript
declare class FakeXMLHttpRequest {
url: string;
status: number;
response: any;
responseText: string | undefined;
open(_type: string, url: string): void;
send(): void;
onload(xhr: any, event: any): void;
onerror(err: NodeJS.ErrnoException | null): void;
onprogress(): void;
}
export default FakeXMLHttpRequest;
//# sourceMappingURL=fakeXMLHttpRequest.d.ts.map