Skip to content

Commit

Permalink
[react] Fix useTheme return type (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova authored Dec 3, 2024
1 parent fc72565 commit 4666708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pigment-css-react/src/useTheme.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { ThemeArgs } from './theme';

export default function useTheme(): ThemeArgs extends { theme: any } ? ThemeArgs['theme'] : any;
export default function useTheme(): ThemeArgs extends { theme: unknown } ? ThemeArgs['theme'] : any;

0 comments on commit 4666708

Please sign in to comment.