Add TypeScript definitions

This commit is contained in:
Anton Liaposhchenko 2023-12-26 23:05:24 +02:00
parent 2a89ddb2ca
commit 3e5a9f32a0

2
index.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
export function analyzeSync(path: string): Uint8Array;
export function analyze(path: string): Promise<Uint8Array>;