Closed yuki0410-dev closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.04%. Comparing base (
2d66a92
) to head (3191bd5
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
型 '{ onChange: Mock<any, any, any>; showWeekPicker: true; }' を型 'IntrinsicAttributes & (IntrinsicClassAttributes
& ((Pick<Readonly<Omit<CalendarProps, "container" | ... 18 more ... | "outsideClickIgnoreClass"> & ... 5 more ... & { ...; }>, "form" | ... 108 more ... | "onChangeRaw"> & InexactPartial<...> & InexactPartial<...>) | (Pick<...> & ... 1 more ... & InexactPar...' に割り当てることはできません。 型 '{ onChange: Mock<any, any, any>; showWeekPicker: true; }' には 型 'Pick<Readonly<Omit<CalendarProps, "container" | "onSelect" | "setOpen" | "dateFormat" | "preSelection" | "setPreSelection" | "selectsRange" | "handleOnKeyDown" | "highlightDates" | ... 10 more ... | "outsideClickIgnoreClass"> & ... 5 more ... & { ...; }>, "form" | ... 108 more ... | "onChangeRaw">' からの次のプロパティがありません: selectsMultiple, popperPropsts(2322)
We also worked on some tests that could simply be transferred to TS
Build is failing due to a ratelimit issue on codecov. I have a fix (https://github.com/Hacker0x01/react-datepicker/pull/4816) ready which I'll merge shortly. Please rebase this PR afterwards.
Fix has been merged. Please rebase.
@martijnrusschen Thanks for the quick response. rebased.
name: Migrate time.jsx
Description
Linked issue: #4700
Changes
week_picker_test.test .js
and some tests ware migrated to tsThe props type information is now correct and is being corrected together.
Contribution checklist