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[];