지역을 허용 목록에 명시적으로 추가하여 지역만 허용하는 정책을 정의합니다.
서명:
export interface AllowlistOnly
속성
재산 | 유형 | 설명 |
---|---|---|
허용된 지역 | 끈[] | https://cldr.unicode.org/에 정의된 대로 허용되는 두 글자 유니코드 지역 코드 이러한 지역 코드의 전체 목록은 여기에 있습니다: https://github.com/unicode-cldr/cldr-localenames-full/blob/ master/main/en/territories.json |
AllowlistOnly.allowedRegions
https://cldr.unicode.org/에 정의된 대로 허용되는 두 글자 유니코드 지역 코드 이러한 지역 코드의 전체 목록은 여기에 있습니다: https://github.com/unicode-cldr/cldr-localenames-full/blob/ master/main/en/territories.json
서명:
allowedRegions: string[];