AllowlistOnly interface

透過明確將區域新增至允許清單來定義僅允許區域的策略。

簽名:

export interface AllowlistOnly 

特性

財產類型描述
允許的區域細繩[]允許使用 https://cldr.unicode.org/ 定義的兩個字母 unicode 區域代碼 這些區域代碼的完整列表位於:https://github.com/unicode-cldr/cldr-localenames-full/blob/ master/ main/en/territories.json

AllowlistOnly.allowedRegions

允許使用 https://cldr.unicode.org/ 定義的兩個字母 unicode 區域代碼 這些區域代碼的完整列表位於:https://github.com/unicode-cldr/cldr-localenames-full/blob/ master/ main/en/territories.json

簽名:

allowedRegions: string[];