함수의 parameter type과 return type을 미리 지정하는 것 the type of the arguments and return value of a function 🙆🏻♀️ the implementaion(이행, 실행) of a function ❌ 그 함수를 구현하기 전에 먼저 함수의 타입을 설명하고, 함수가 어떻게 작동하는지 서술해둘 수 있다. before // normal function function add(a: number, b: number) { return a+b } // arrow function const add = (a: number, b: number) => a+b after type Add = (a: number, b: number) => number const ad..