fix(types): use callable type for actions to fix build

Changed from Record<string, unknown> to Record<string, (...args: any[]) => any>
so TypeScript understands the action properties are callable functions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-01-19 15:41:04 -08:00
parent 3fed820f3f
commit 3e4f9e7fbb

View File

@@ -358,9 +358,10 @@ interface StateProps {
// Combined actions from all action modules used in Explore
// Note: These modules export both action creators AND action type constants,
// so we use Record<string, unknown> to accommodate the mixed exports
// Using a callable signature to allow TypeScript to understand these are functions
interface DispatchProps {
actions: Record<string, unknown>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
actions: Record<string, (...args: any[]) => any>;
}
type ExploreViewContainerProps = StateProps & DispatchProps & OwnProps;