Remove dependency on prop-types
#2696
Labels
Issue: Accepted
The submitted issue has been confirmed by the Victory core team
Type: TypeScript
Issues related to typescript or type definitions
Milestone
We're trying to reduce the amount of dependencies of our React application, and noticed that
prop-types
is a dependency of Victory. Since allprop-types
does is validate that the props passed to a component are of a certain type, we are left wondering why it could not be handled by TypeScript at compile time instead.Would it be possible to remove
prop-types
as a dependency from Victory?The text was updated successfully, but these errors were encountered: