From 3e5a9f32a076dd45cc8674542fc1b0afd9c2aa86 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 26 Dec 2023 23:05:24 +0200 Subject: [PATCH] Add TypeScript definitions --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..fa01684 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,2 @@ +export function analyzeSync(path: string): Uint8Array; +export function analyze(path: string): Promise;