Skip to content

Commit

Permalink
Remove = any
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon authored Apr 15, 2024
1 parent bbb5350 commit 06033f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/react/src/useUppyState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = any,
T,

Check failure on line 9 in packages/@uppy/react/src/useUppyState.ts

View workflow job for this annotation

GitHub Actions / Type tests

Required type parameters may not follow optional type parameters.

Check failure on line 9 in packages/@uppy/react/src/useUppyState.ts

View workflow job for this annotation

GitHub Actions / Type tests

Required type parameters may not follow optional type parameters.

Check failure on line 9 in packages/@uppy/react/src/useUppyState.ts

View workflow job for this annotation

GitHub Actions / Browser tests

Required type parameters may not follow optional type parameters.

Check failure on line 9 in packages/@uppy/react/src/useUppyState.ts

View workflow job for this annotation

GitHub Actions / Browser tests

Required type parameters may not follow optional type parameters.
>(uppy: Uppy<M, B>, selector: (state: State<M, B>) => T): T {
const subscribe = useMemo(
() => uppy.store.subscribe.bind(uppy.store),
Expand Down

0 comments on commit 06033f8

Please sign in to comment.