State extends Component Props 함수 컴포넌트는 React.FunctionComponent > ts 적용 전 > ts 적용 후 Event 1) return 값이 없으면 void 2) 폼에서 발생하는 event의 type은 React.F
string, number, boolean, symbol, enum, 문자열 리터럴1) symbol : unique한 속성으로 주로 객체의 key로 사용된다2) enum : 숫자형, 문자형 이넘이 있다array, tuple, function, 생성자, class, in
https://leonkong.cc/posts/react-kakao-maps.html
Typescript 특징 에러가 발생할 코드를 감지하면, js로 컴파일 하지 않는다 컴파일 상에서 타입 에러를 미리 잡기 위한 목적이 크다 Type Implicit && Explicit aliases type 키워드로 선언하는 타입 optional ? 키워드로 선언하며 해당 타입이 undefined가 될수도 있다는 의미를 가진다 readonl...