From aa37f522be2d38c2ae31e567c9212bf8d59e7829 Mon Sep 17 00:00:00 2001 From: Murderlon Date: Mon, 15 Apr 2024 11:50:30 +0200 Subject: [PATCH] Revert "Remove `= any`" This reverts commit 06033f82caded6db17dca6985e22840937177e47. --- packages/@uppy/react/src/useUppyState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@uppy/react/src/useUppyState.ts b/packages/@uppy/react/src/useUppyState.ts index 944f6e949c..e69a63a420 100644 --- a/packages/@uppy/react/src/useUppyState.ts +++ b/packages/@uppy/react/src/useUppyState.ts @@ -6,7 +6,7 @@ import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-s export default function useUppyState< M extends Meta = Meta, B extends Body = Body, - T, + T = any, >(uppy: Uppy, selector: (state: State) => T): T { const subscribe = useMemo( () => uppy.store.subscribe.bind(uppy.store),