From 2e9a367f1376ff1304dc5b83e1cb18ddfb8704f8 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 25 Oct 2019 21:32:40 +0200 Subject: [PATCH] Added a module definition file --- native/dns/exports/exports.d.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 native/dns/exports/exports.d.ts diff --git a/native/dns/exports/exports.d.ts b/native/dns/exports/exports.d.ts new file mode 100644 index 0000000..80b69a6 --- /dev/null +++ b/native/dns/exports/exports.d.ts @@ -0,0 +1,4 @@ +declare module "teaclient_dns" { + export function resolve_cr(host: string, port: number, callback: (result: string | {host: string, port: number}) => any); + export function initialize(); +} \ No newline at end of file