CardSoundFiletype
The name of one recording: its kind of sound and a number, such as deal-2.
Import it
import type { CardSoundFile } from "@johnmorrisdotca/toranpu/sounds";
Definition
type CardSoundFile = "deal-1" | "deal-2" | "deal-3" | "deal-4" | "fan-1" | "flip-1" | "flip-2" | "gather-1" | "gather-2" | "play-1" | "play-2" | "play-3" | "shuffle-1";
Examples
import type { CardSoundFile } from "@johnmorrisdotca/toranpu/sounds";
const file: CardSoundFile = "deal-1";
console.log(file);deal-1What it prints (run when this page was built)