From 4f8d5718e838721cd183dfdffbce16f2245a7133 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 16 May 2024 23:00:02 +0200 Subject: [PATCH] fix(docs): Add parameter docs for `getUploader` Signed-off-by: Ferdinand Thiessen --- lib/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.ts b/lib/index.ts index c7185c9d..769c4e69 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -17,6 +17,7 @@ export type ConflictResolutionResult = { } /** * Get an Uploader instance + * @param forceRecreate Force a new uploader instance - main purpose is for testing */ export function getUploader(forceRecreate = false): Uploader { const isPublic = document.querySelector('input[name="isPublic"][value="1"]') !== null