Skip to content

Commit

Permalink
add: theme 자동완성을 위한 type file
Browse files Browse the repository at this point in the history
  • Loading branch information
esthel7 authored and 5nxtnxtnxt committed Dec 3, 2023
1 parent c21a395 commit 4731f8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions front/src/styled.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import 'styled-components';
import theme from './utils/theme';

type ThemeType = typeof theme;

declare module 'styled-components' {
export interface DefaultTheme extends ThemeType {}
}

0 comments on commit 4731f8b

Please sign in to comment.