Archived
1
0
Fork 0
This repository has been archived on 2024-02-07. You can view files and clone it, but cannot push or open issues or pull requests.
supDolphinWS.js/dist/index.d.ts
2023-03-09 20:03:39 +09:00

10 lines
416 B
TypeScript

type RequestAddress = number | number[];
export default function Dolphin(url?: string, reconnect?: number): Promise<{
connect: () => Promise<unknown>;
readonly ws: WebSocket;
getVersion(): Promise<string>;
hook(): Promise<void>;
readRAM(addr: RequestAddress, size: number): Promise<DataView>;
writeRAM(addr: RequestAddress, value: string | ArrayBufferLike): Promise<DataView>;
}>;
export {};