We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3f0745 commit ad1bbb3Copy full SHA for ad1bbb3
2 files changed
apps/pyconkr/vite-env.d.ts
@@ -1,11 +1,5 @@
1
/// <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
+/// <reference types="vite-plugin-svgr/client" />
9
interface ViteTypeOptions {
10
strictImportEnv: unknown;
11
}
types/emotion.d.ts
@@ -1,5 +1,5 @@
import "@emotion/react";
-import "@mui/material/styles";
+import { type Theme as MuiTheme } from "@mui/material/styles";
declare module "@mui/material/styles" {
interface PaletteColor {
@@ -9,3 +9,7 @@ declare module "@mui/material/styles" {
nonFocus?: string;
12
+
13
+declare module "@emotion/react" {
14
+ export type Theme = MuiTheme;
15
+}
0 commit comments