type statusCode = "OK" | "ERROR" | "NOT_FOUND"; // 매핑 const statMessage: Record = { OK: "정상 처리", ERROR: "에러 발생", NOT_FOUND: "찾을 수 없음" }; console.log(statMessage.NOT_FOUND);