React Typescript 적용
적용 단계는 다음과 같습니다. 1. tsconfig.json추가 하여 typescript 설정 2. 라이브러리 type 설치 3. eslint 설정 1. tsconfig.jon 추가 : 기존 jsconfig.jscon 파일이 있다면 삭제 { "compilerOptions": { "target": "es6", "lib": [ "dom", "dom.iterable", "esnext" ], "incremental": true, "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, ..
React/typescript
2023. 1. 21. 18:24