basic 숫자 : number 문자열 : string 논리 : boolean 배열 : array (자료형[]) optional 변수(속성)명 뒤에 ❓ 붙이면 optional parameter const player : { name: string, age?: number } = { name: "nico" } // age undefined check if (player.age && player.age < 10) { } Type Alias To create a new name for a type for 타입의 재사용 but not too much. 깔끔하고 명확해질 때까지만. // Type Alias to every type type Name = string // **too much. not recommen..