summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.es5.d.ts
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2024-01-15 01:26:57 +0100
committerGitHub <noreply@github.com>2024-01-15 01:26:57 +0100
commit5143b9e7d3f72e6cc23f8381295df17ff1235f53 (patch)
tree6c8a59aa1fd0feb23601e009bde04c03c66e6593 /cli/tsc/dts/lib.es5.d.ts
parentf46c03d6b4a59f5f1771cb3fbec15fe034b81dde (diff)
feat(unstable): add Temporal API support (#21738)
This commit adds support for [Stage 3 Temporal API proposal](https://tc39.es/proposal-temporal/docs/). The API is available when `--unstable-temporal` flag is passed. --------- Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: David Sherret <dsherret@gmail.com> Co-authored-by: Kenta Moriuchi <moriken@kimamass.com>
Diffstat (limited to 'cli/tsc/dts/lib.es5.d.ts')
-rw-r--r--cli/tsc/dts/lib.es5.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.es5.d.ts b/cli/tsc/dts/lib.es5.d.ts
index 55ce47cad..439ed6b81 100644
--- a/cli/tsc/dts/lib.es5.d.ts
+++ b/cli/tsc/dts/lib.es5.d.ts
@@ -4474,7 +4474,7 @@ declare namespace Intl {
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
formatMatcher?: "best fit" | "basic" | undefined;
hour12?: boolean | undefined;
- timeZone?: string | undefined;
+ timeZone?: string | (typeof globalThis extends { Temporal: { TimeZoneProtocol: infer T; }; } ? T : undefined) | undefined
}
interface ResolvedDateTimeFormatOptions {