定義預設允許每個區域並將不允許的區域新增到禁止清單的策略。
簽名:
export interface AllowByDefault
特性
財產 | 類型 | 描述 |
---|---|---|
禁止區域 | 細繩[] | https://cldr.unicode.org/ 定義的禁止使用的兩個字母 unicode 區域代碼 這些區域代碼的完整列表位於:https://github.com/unicode-cldr/cldr-localenames-full/blob/ master /main/en/territories.json |
AllowByDefault.disallowedRegions
https://cldr.unicode.org/ 定義的禁止使用的兩個字母 unicode 區域代碼 這些區域代碼的完整列表位於:https://github.com/unicode-cldr/cldr-localenames-full/blob/ master /main/en/territories.json
簽名:
disallowedRegions: string[];