@@ -4277,26 +4277,23 @@ declare namespace Intl {
42774277 supportedLocalesOf ( locales : string | string [ ] , options ?: NumberFormatOptions ) : string [ ] ;
42784278 } ;
42794279
4280- type DateFormatNumericVerbosity = "numeric" | "2-digit" ;
4281- type DateFormatNameVerbosity = "long" | "short" | "narrow" ;
4282-
42834280 interface DateTimeFormatOptions {
42844281 /** output examples – numeric: "2020", 2-digit: "20" */
4285- year ?: DateFormatNumericVerbosity ;
4282+ year ?: "numeric" | "2-digit" ;
42864283 /** output examples – numeric: "3", 2-digit: "03", long: "March", short: "Mar", narrow: "M" */
4287- month ?: DateFormatNumericVerbosity | DateFormatNameVerbosity ;
4284+ month ?: "numeric" | "2-digit" | "long" | "short" | "narrow" ;
42884285 /** output examples – numeric: "2", 2-digit: "02" */
4289- day ?: DateFormatNumericVerbosity ;
4286+ day ?: "numeric" | "2-digit" ;
42904287 /** output examples – numeric: "2", 2-digit: "02" */
4291- hour ?: DateFormatNumericVerbosity ;
4288+ hour ?: "numeric" | "2-digit" ;
42924289 /** output examples – numeric: "2", 2-digit: "02" */
4293- minute ?: DateFormatNumericVerbosity ;
4290+ minute ?: "numeric" | "2-digit" ;
42944291 /** output examples – numeric: "2", 2-digit: "02" */
4295- second ?: DateFormatNumericVerbosity ;
4292+ second ?: "numeric" | "2-digit" ;
42964293 /** output examples – long: "Thursday", short: "Thu", narrow: "T" */
4297- weekday ?: DateFormatNameVerbosity ;
4294+ weekday ?: "long" | "short" | "narrow" ;
42984295 /** output examples – long: "Anno Domini", short: "AD", narrow "A" */
4299- era ?: DateFormatNameVerbosity ;
4296+ era ?: "long" | "short" | "narrow" ;
43004297 /** set to `true` to force 12-hour am/pm "dayPeriod" values, or `false` to force 24-hour time without */
43014298 hour12 ?: boolean ;
43024299 /** output examples – long: "Pacific Daylight Time", short: "PDT" */
0 commit comments