79766044

Date: 2025-09-16 09:44:20
Score: 1
Natty:
Report link

The easiest way to fix it is to create a styled.d.ts file in the root of the project and paste this code:

import theme from '@/constants/theme'; // Your path
import 'styled-components';

declare module 'styled-components' {
  type MyTheme = typeof theme;

  interface DefaultTheme extends MyTheme {}
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Er Bakhshyan