Skip to content

Commit

Permalink
[@mantine/modals] Fix Modal overrides type augmentation not working w…
Browse files Browse the repository at this point in the history
…ith TypeScript 5.5 (#6443)

* fix issue 6438

* fix prettier issue
  • Loading branch information
florisdg authored Jun 27, 2024
1 parent cbb0db3 commit b0c5dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@mantine/modals/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface ModalsContextProps {
closeAll: () => void;
}

export type MantineModalsOverride = {};
export interface MantineModalsOverride {}

export type MantineModalsOverwritten = MantineModalsOverride extends {
modals: Record<string, React.FC<ContextModalProps<any>>>;
Expand Down

0 comments on commit b0c5dbc

Please sign in to comment.