CalebMorris / react-moment-proptypes

React proptype validator for moment.js
49 stars 17 forks source link

Update index.d.ts #50

Closed tebatalla closed 3 years ago

tebatalla commented 3 years ago

Avoids implicit any type errors:

node_modules/react-moment-proptypes/index.d.ts:19:19 - error TS7006: Parameter 'isValidMoment' implicitly has an 'any' type.

19     withPredicate(isValidMoment): Validator<T>,
CalebMorris commented 3 years ago

Looks good. Thanks for the contribution Not sure why a dupe is showing up for Travis. Overriding