Skip to content

Commit

Permalink
prevent recursive types in DialogOwnerState
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Jan 15, 2025
1 parent 79e8ea6 commit 12c6f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Dialog/Dialog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,4 @@ export interface DialogProps
*/
export default function Dialog(props: DialogProps): React.JSX.Element;

export interface DialogOwnerState extends DialogProps {}
export interface DialogOwnerState extends Omit<DialogProps, 'slots' | 'slotProps'> {}

0 comments on commit 12c6f4f

Please sign in to comment.