Skip to content

Commit

Permalink
fix: ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiemens committed Nov 13, 2024
1 parent ab53544 commit d7cc6d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/UX Patterns/Table/Filters.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const WithComplexFilters: Story = {
showHour: true,
showMinute: true,
showSecond: false,
disabledDate: antdDayJS => {
disabledDate: (antdDayJS: any) => {
const fourteenDaysInMs = 14 * 24 * 60 * 60 * 1000
return antdDayJS.isBefore(new Date(Date.now() - fourteenDaysInMs))
},
Expand Down
2 changes: 2 additions & 0 deletions src/components/data-entry/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { DatePicker as AntDatePicker, type DatePickerProps as AntDatePickerProps } from 'antd'
import type { RangePickerProps as AntRangePickerProps } from 'antd/es/date-picker'
import { ConfigProvider } from 'src/components'

export interface IDatePickerProps extends AntDatePickerProps {}
export interface IRangePickerProps extends AntRangePickerProps {}

export const DatePicker = (props: IDatePickerProps) => {
return (
Expand Down

0 comments on commit d7cc6d6

Please sign in to comment.