Commit 70e7286
fix: export missing TimeRange type (#2590)
* 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>
* fix: add TimeRange to date/index.ts re-export
The shared/index.ts re-exports TimeRange from ./date, but TimeRange was
missing from the date barrel (shared/date/index.ts). This caused a
resolution failure. TimeRange is defined in shared/date/types.ts
alongside DateRange and other date types, so it belongs in the same
barrel export.
Verified: build passes and TimeRange appears in dist/shared.d.ts.
Bahtya
---------
Signed-off-by: bahtya <bahtyar153@qq.com>
Co-authored-by: Bahtya <bahtayr@gmail.com>1 parent 68a490b commit 70e7286
2 files changed
Lines changed: 2 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments