TileSoundFiletype
The name of one recording: its kind of sound and a number, such as pick-1.
Import it
import type { TileSoundFile } from "@johnmorrisdotca/jarajara/sounds";
Definition
type TileSoundFile = "flip-1" | "flip-2" | "pair-1" | "pair-2" | "pair-3" | "pair-4" | "pick-1" | "pick-2" | "place-1" | "place-2" | "place-3" | "shuffle-1" | "shuffle-2" | "shuffle-3" | "win-1" | "win-2";
Examples
import type { TileSoundFile } from "@johnmorrisdotca/jarajara/sounds";
const file: TileSoundFile = "pick-1";
console.log(file);pick-1What it prints (run when this page was built)