Untitled
unknown
plain_text
2 years ago
346 B
6
Indexable
type EvaluationRangeType = 3 | 5
type FaceTypes = "Bad" | "Soso" | "Regular" | "Smile" | "Happy"
const ratingMap = {
3: {
Bad: 1,
Regular: 2,
Happy: 3,
} as const,
5: {
Bad: 1,
Soso: 2,
Regular: 3,
Smile: 4,
Happy: 5,
} as const,
} as const;
Editor is loading...
Leave a Comment