Skip to content

Commit ad1bbb3

Browse files
committed
fix: 타입 오류 수정
1 parent c3f0745 commit ad1bbb3

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

apps/pyconkr/vite-env.d.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
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" />
93
interface ViteTypeOptions {
104
strictImportEnv: unknown;
115
}

types/emotion.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import "@emotion/react";
2-
import "@mui/material/styles";
2+
import { type Theme as MuiTheme } from "@mui/material/styles";
33

44
declare 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+
}

0 commit comments

Comments
 (0)