ChizuFeatureGroup型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The six groups the features come in, in the order they are drawn: from Natural Earth's physical files, marine
(oceans, seas, bays, straits), under the land, landforms (deserts, ranges, plains), drawn only when chosen,
lakes, rivers and peaks; and from kuni 国, capitals (a country's capital, its regions' seats).
インポート
import type { ChizuFeatureGroup } from "@johnmorrisdotca/chizu";
定義
type ChizuFeatureGroup = "marine" | "landforms" | "lakes" | "rivers" | "peaks" | "capitals";
例
import { CHIZU_FEATURE_GROUPS, type ChizuFeatureGroup } from "@johnmorrisdotca/chizu";
const first: ChizuFeatureGroup = CHIZU_FEATURE_GROUPS[0];
console.log(first, CHIZU_FEATURE_GROUPS.length);
// marine 6marine 6出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。