Skip to content

Commit 4f2f5c1

Browse files
committed
update type to React.JSX.Element;
1 parent 4b9919d commit 4f2f5c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/mui-styled-engine/src/GlobalStyles/GlobalStyles.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export interface GlobalStylesProps<Theme = {}> {
88

99
export default function GlobalStyles<Theme = {}>(
1010
props: GlobalStylesProps<Theme>,
11-
): React.ReactElement<unknown>;
11+
): React.JSX.Element;

packages/mui-system/src/cssVars/createCssVarsProvider.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export interface CreateCssVarsProviderResult<
8888
disableStyleSheetGeneration?: boolean;
8989
}
9090
>,
91-
) => React.ReactElement<unknown>;
91+
) => React.JSX.Element;
9292
useColorScheme: () => ColorSchemeContextValue<ColorScheme>;
9393
getInitColorSchemeScript: typeof InitColorSchemeScript;
9494
}

0 commit comments

Comments
 (0)