Fixes #175
The CountdownProps interface date prop was initially set to optional due to an older component that is still being supported in order to follow Semver (for react-countdown@2). This change will make it a required one. However, since this legacy version was neither utilizing TypeScript nor PropTypes, it's safe to assume that this won't break anything given that the actual countdown component only works by providing this prop while it's also documented this way.
Coverage remained the same at 100.0% when pulling 5dcfd4bd23f4120959892e5a0034a1900f9016bb on v2.3.3 into 1997d716b085d2bd211e654309d4aeeb12df9fb6 on master.
Bugfixes
CountdownProps
interfacedate
prop was initially set to optional due to an older component that is still being supported in order to follow Semver (forreact-countdown@2
). This change will make it a required one. However, since this legacy version was neither utilizing TypeScript nor PropTypes, it's safe to assume that this won't break anything given that the actual countdown component only works by providing this prop while it's also documented this way.