Skip to content

Commit 605dbe0

Browse files
committed
fix: add hijri (islamic) to CalendarSystem type export
1 parent d8e5e1c commit 605dbe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { CalendarSystemBase } from './calendarSystems/CalendarSystemBase';
55
// All Calendar Systems known to Intl API (alphabetical order)
66
// 'buddhist' | 'chinese' | 'coptic' | 'dangi' | 'ethioaa' | 'ethiopic' | 'gregory' | 'hebrew' | 'indian' | 'islamic' | 'islamic-civil' | 'islamic-rgsa' | 'islamic-tbla' | 'islamic-umalqura' | 'islamicc' | 'iso8601' | 'japanese' | 'persian' | 'roc'
77
// Our supported Calendar Systems (alphabetical order)
8-
export type CalendarSystem = 'gregory' | 'persian';
8+
export type CalendarSystem = 'gregory' | 'persian' | 'islamic';
99
// TODO: export type CalendarSystem = 'gregory' | 'persian' | 'islamic' | 'islamic-umalqura' | 'hebrew' | 'ethiopic';
1010
// ! Note that we use the default "islamic-umalqura" calendar system for "islamic" calendar system
1111

0 commit comments

Comments
 (0)