TILE_DESIGNS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
THE DESIGNS A TILE MAY BE DRAWN IN. jarajara is the package's own, drawn in plain strokes and always at hand;
riichi and riichi-black are FluffyStuff's riichi tiles (CC0, see CREDITS.md), regular and black, with their
own backs and red fives, and each is fetched the first time it is asked for, so a page that stays with the default
pays nothing for them. They draw no flowers or seasons, so those stay Jarajara's own within them.
インポート
import { TILE_DESIGNS } from "@johnmorrisdotca/jarajara/faces";
定義
const TILE_DESIGNS: readonly ["jarajara", "riichi", "riichi-black"] = ["jarajara", "riichi", "riichi-black"] as const
例
import { TILE_DESIGNS } from "@johnmorrisdotca/jarajara/faces";
console.log(TILE_DESIGNS);[ 'jarajara', 'riichi', 'riichi-black' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。