타입 시스템의 동작을 변경하기 위한 선택적 매개변수, 기본 매개변수, 나머지 매개변수 선언하기
●
타입 애너테이션으로 함수 반환 타입 선언하기
●
void
타입으로 사용 가능한 값을 반환하지 않는 함수 알아보기
●
never
타입으로 절대 반환하지 않는 함수 알아보기
●
함수 오버로드를 사용해서 다양한 함수 호출 시그니처 설명하기
https
://
learningtypescript
.
com
/
functions
에서 배운 내용을 연습해보세요.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.