MilitaryId型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The id of a military flag, written exactly as this package writes it: mil:, the country's two letters and a lower-case slug
("mil:gb-white-ensign"). No country or region code contains a colon, so none of these can be taken for one.
インポート
import type { MilitaryId } from "@johnmorrisdotca/hata/military";
定義
type MilitaryId = MilitaryRecordId;
例
import { type MilitaryId } from "@johnmorrisdotca/hata/military";
const ensign: MilitaryId = "mil:gb-white-ensign";
console.log(ensign);mil:gb-white-ensign出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。