fix(badge): incorrect ts type definitions
fix(badge): incorrect ts type definitions

change counter and onClick prop to be optional to match js proptypes
fix missing onClick event type

Sage/carbon,Sage/carbon,Sage/carbon