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