| "Pencil"; const useSound = (item: Stationery) => { return match(item) .with("Pen", () => "Χνο") // ϊοΫࣜϖϯͷΠϝʔδ .with("Pencil", () => "αϥαϥ") // ॻ͖৺ͷΠϝʔδ .exhaustive(); // શͯͷύλʔϯ͕ཏ͞Ε͍ͯΔ͔νΣοΫ͢Δ }; useSound("Pen"); // "Χνο" useSound("Eraser"); // Type Error: '"Eraser"' is not assignable to type 'Stationery'