Skip to content

Commit 2f8d0d0

Browse files
authored
Apply suggestions from code review
1 parent 34283ad commit 2f8d0d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/esnext.intl.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare namespace Intl {
3535
*
3636
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTimeZones)
3737
*/
38-
getTimeZones(): string[];
38+
getTimeZones(): string[] | undefined;
3939
/**
4040
* Returns a `WeekInfo` object with the properties `firstDay`, `weekend` and `minimalDays` for this locale.
4141
*
@@ -55,7 +55,7 @@ declare namespace Intl {
5555
*
5656
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo#direction)
5757
*/
58-
direction: "ltr" | "rtl";
58+
direction?: "ltr" | "rtl";
5959
}
6060

6161
/**

0 commit comments

Comments
 (0)