MixTile型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One kind of tile in a set: the code the game deals, what is printed on it, what shows in its corner, and how many the set holds.
インポート
import type { MixTile } from "@johnmorrisdotca/kumimoji";
定義
type MixTile = {
code: string;
glyph: string;
forms: string;
count: number;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
code | string | |
glyph | string | |
forms | string | |
count | number |
例
import type { MixTile } from "@johnmorrisdotca/kumimoji";
const value: MixTile = {code:"c",glyph:"c",forms:"",count:2};
console.log(value);{ code: 'c', glyph: 'c', forms: '', count: 2 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。