From 99e32e11c00acbebfa2ff5e3e1a1868262f16079 Mon Sep 17 00:00:00 2001 From: Paulius Petkus Date: Mon, 5 Oct 2026 15:12:44 +0300 Subject: [PATCH] Type Result.files and saveFiles() as arrays instead of single-item tuples --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index c2bab0f..d868d19 100644 --- a/index.d.ts +++ b/index.d.ts @@ -20,8 +20,8 @@ export interface Result { readonly conversionCost: number; readonly jobId?: string; readonly file: ResultFile; - readonly files: [ResultFile]; - saveFiles(path: string): Promise<[string]>; + readonly files: ResultFile[]; + saveFiles(path: string): Promise; } export interface UploadResult {