<aside> 📌 타입 alias: 특정 타입을 특정 이름에 저장하자
</aside>
type A = string;
const str: A = 'hi';
type
키워드 사용type ValueWithUnit = (value: number, unit: string) => string;
const func: ValueWithUnit = (value, unit) => value + unit;
type Person = {
name: string,
age: number,
}
const person: Person = {
name: 'Lee',
age: 28,
}