type 키워드를 사용해서 타입을 정의합시다.(interface X)[TS] type과 interface의 차이재사용할 타입만 분리하여 전역으로 관리합시다.재사용 안하는 건, 각 파일의 최상단에 둡시다.