Skip to content

Commit b947bd5

Browse files
committed
reverted type fix
1 parent 4ae806b commit b947bd5

File tree

1 file changed

+2
-2
lines changed
  • core/src/components/datetime/utils

1 file changed

+2
-2
lines changed

core/src/components/datetime/utils/data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Mode, Theme } from '../../../interface';
1+
import type { Theme } from '../../../interface';
22
import type { DatetimeParts, DatetimeHourCycle } from '../datetime-interface';
33

44
import { isAfter, isBefore, isSameDay } from './comparison';
@@ -70,7 +70,7 @@ const hour24 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1
7070
* MD should display days such as "M"
7171
* or "T".
7272
*/
73-
export const getDaysOfWeek = (locale: string, theme: Theme | Mode, firstDayOfWeek = 0) => {
73+
export const getDaysOfWeek = (locale: string, theme: Theme, firstDayOfWeek = 0) => {
7474
/**
7575
* Nov 1st, 2020 starts on a Sunday.
7676
* ion-datetime assumes weeks start on Sunday,

0 commit comments

Comments
 (0)