Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add undefined and null as allowed modifier types #775
Examples like: https://react-day-picker.js.org/examples/selected-range-enter/ show that modifiers are in fact supported as undefined or nullable. They do not work in typescript without some fair amount of work to ensure the value isn't null, when in fact the library does handle those types.
@@ Coverage Diff @@ ## master #775 +/- ## ======================================= Coverage 99.84% 99.84% ======================================= Files 15 15 Lines 646 646 Branches 142 142 ======================================= Hits 645 645 Misses 1 1