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