성2

  • 홈
  • 태그
  • 방명록

strictNullCheck 1

[TypeScript] Strict, HTML 조작할 때 주의점

✅ tsconfing.json 에서 엄격한 유형 검사 설정하기 { "compilerOptions": { "target": "es5", "module": "commonjs", "strict": true 👈 //모든 엄격한 유형 검사 옵션 활성화 } } *엄격한 유형 검사 옵션 "noImplicitAny": true //명시적이지 않은 'any' 유형으로 표현식 및 선언 사용 시 오류 발생 "strictNullChecks": true //엄격한 null 검사 사용 "strictFunctionTypes": true //엄격한 함수 유형 검사 사용 "strictBindCallApply": true //엄격한 'bind', 'call', 'apply' 함수 메서드 사용 "strictPropertyInitializ..

TypeScript 2022.02.19
1
더보기
  • 분류 전체보기 (43)
    • HTML·CSS (18)
    • JavaScript (1)
    • React (11)
      • Next (10)
    • TypeScript (13)
    • Git (0)

Tag

narrowing, TypeScript, CSS, Destructuring Type, padding, strictNullCheck, JavaScript, float, class, literal type, HTML, getInitialProps, margin, void, Next, Rest type, react, throw new Error, type, instanceof,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Archives

  • 계획

티스토리툴바