타입스크립트0
2022. 6. 29. 18:51ㆍ카테고리 없음
call signature 함수를 구현하기전에 화살표를 올렸을때 볼수있는 tooltip 타입을 작성하는것(?)
>> arguments의 타입과 함수 return 타입
>> Is the type of the arguments and return value of a function
e.g
type Add = (a:number, b:number) => number;
const add:Add = (a, b) => a+b
overloading => When a function has multiple call signatures