StoneOption型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What the stones option of mountMeikyuu takes: true for the defaults, or any of the rules (limit: null for no limit).
インポート
import type { StoneOption } from "@johnmorrisdotca/meikyuu";
定義
type StoneOption = boolean | {
readonly limit?: number | null;
readonly reach?: number;
};
例
import type { StoneOption } from "@johnmorrisdotca/meikyuu";
const value: StoneOption = {limit:5,reach:1};
console.log(value);{ limit: 5, reach: 1 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。