Skip to content

Commit b81c93a

Browse files
committed
fix: typescript export calendar types as CalendarSystem type
1 parent cbd5735 commit b81c93a

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
@@ -1,6 +1,6 @@
11
import { PluginFunc, Dayjs } from 'dayjs';
22
import { CalendarSystemBase } from './calendarSystems/CalendarSystemBase';
3-
type CalendarSystem = 'persian' | 'gregorian' | 'islamic' | 'julian' | 'indian' | 'hebrew' | 'ethiopian' | 'coptic' | 'buddhist' | 'japanese' | 'roc' | 'nanakshahi' | 'isoWeek' | 'week' | 'quarter' | 'month' | 'year' | 'decade' | 'century' | 'millennium';
3+
export type CalendarSystem = 'persian' | 'gregorian' | 'islamic' | 'julian' | 'indian' | 'hebrew' | 'ethiopian' | 'coptic' | 'buddhist' | 'japanese' | 'roc' | 'nanakshahi' | 'isoWeek' | 'week' | 'quarter' | 'month' | 'year' | 'decade' | 'century' | 'millennium';
44

55
declare module 'dayjs' {
66
interface Dayjs {

0 commit comments

Comments
 (0)