styled-components typscript로 세팅하기
yarn add styled-components @types/styled-components styled-normalize styled-normalize 는 브라우저마다 다르게 보이는 css를 초기화 시키기 위해 다운 받습니다. global에 원하는 css를 작성하기 전에, type을 선언합니다. Parsing error: Only declares and type imports are allowed inside declare module 위와 같은 에러가 뜬다면 루트 디렉토리에 .eslintignore에 /src/assets/styles/styled.d.ts 를 추가합니다.
https://kyounghwan01.github.io/blog/TS/React/styled-components-preset/#package-json-%E1%84%89%E1%85%A5%E1%86%AF%E1%84%8E%E1%85%B5