From 9c6ce47688857c40e85eaef51223999e940dd274 Mon Sep 17 00:00:00 2001 From: Gustav Weslien Date: Sun, 6 Mar 2022 10:05:12 +0100 Subject: [PATCH] Add missing type declarations for Proxy module --- index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..4c13c2a --- /dev/null +++ b/index.d.ts @@ -0,0 +1,8 @@ +declare module '@anzerr/tcp.proxy' { + export class Proxy extends events { + constructor(host: string, to: string) + close(): Promise + public RX: string + public TX: string + } +} \ No newline at end of file