Skip to content

Commit 5673bf9

Browse files
committed
fix: export missing TimeRange type
The TimeRange type is defined in shared/date/types.ts but was not re-exported from shared/index.ts, making it unavailable to consumers while the similar DateRange type is exported. Fixes #2589 Signed-off-by: bahtya <bahtyar153@qq.com>
1 parent e655d29 commit 5673bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export * from './arrays'
22
export * from './browser'
33
export * from './clamp'
44
export { createContext } from './createContext'
5-
export { type DateRange, type DateStep, type DateValue, type SegmentPart, type TimeValue } from './date'
5+
export { type DateRange, type DateStep, type DateValue, type SegmentPart, type TimeRange, type TimeValue } from './date'
66
export { getActiveElement } from './getActiveElement'
77
export { handleAndDispatchCustomEvent } from './handleAndDispatchCustomEvent'
88
export { isValidVNodeElement } from './isValidVNodeElement'

0 commit comments

Comments
 (0)