WordGameRefusal型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Why a guess was not taken: it was too short, or the list does not have the word.
インポート
import type { WordGameRefusal } from "@johnmorrisdotca/kotoba";
定義
type WordGameRefusal = "too-short" | "not-a-word";
例
import type { WordGameRefusal } from "@johnmorrisdotca/kotoba";
const value: WordGameRefusal = "not-a-word";
console.log(value);not-a-word出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。