mirror of
https://github.com/wisplite/tether-ts.git
synced 2026-05-01 06:22:41 -05:00
do all the boring ts stuff to make this actually work
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export declare class TetherClient {
|
||||
private ws;
|
||||
private subscribedQueries;
|
||||
connect: (url: string) => void;
|
||||
disconnect: () => void;
|
||||
subscribe: (query: string, callback: (data: any) => void) => void;
|
||||
unsubscribe: (query: string) => void;
|
||||
sendMutation: (mutationName: string, params: any) => void;
|
||||
}
|
||||
Reference in New Issue
Block a user