File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11/// <reference types="vite/client" />
2- import * as React from "react" ;
3-
4- declare module "*.svg?react" {
5- const component : React . FC < React . SVGProps < SVGSVGElement > > ;
6- export default component ;
7- }
8-
2+ /// <reference types="vite-plugin-svgr/client" />
93interface ViteTypeOptions {
104 strictImportEnv : unknown ;
115}
Original file line number Diff line number Diff line change 11import "@emotion/react" ;
2- import "@mui/material/styles" ;
2+ import { type Theme as MuiTheme } from "@mui/material/styles" ;
33
44declare module "@mui/material/styles" {
55 interface PaletteColor {
@@ -9,3 +9,7 @@ declare module "@mui/material/styles" {
99 nonFocus ?: string ;
1010 }
1111}
12+
13+ declare module "@emotion/react" {
14+ export type Theme = MuiTheme ;
15+ }
You can’t perform that action at this time.
0 commit comments