Skip to content

Commit 4b5a491

Browse files
Improve typing
1 parent 8a63837 commit 4b5a491

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-paper-dates",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"description": "Performant Date Picker for React Native Paper",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

src/Calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export type RangeChange = (params: {
2727
endDate: CalendarDate
2828
}) => any
2929

30-
export type SingleChange = (params: { date: Date | null | undefined }) => any
30+
export type SingleChange = (params: { date: CalendarDate }) => any
3131

3232
export interface CalendarRangeProps extends BaseCalendarProps {
3333
mode: 'range'

0 commit comments

Comments
 (0)