CardSoundFile型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The name of one recording: its kind of sound and a number, such as deal-2.
インポート
import type { CardSoundFile } from "@johnmorrisdotca/toranpu/sounds";
定義
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";
例
import type { CardSoundFile } from "@johnmorrisdotca/toranpu/sounds";
const file: CardSoundFile = "deal-1";
console.log(file);deal-1出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。