import PropTypes from "prop-types"; export default PropTypes.shape({ hosts_count: PropTypes.number, id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), title: PropTypes.string, type: PropTypes.string, }); export interface ILabel { hosts_count: number; id: number | string; title: string; type: string; }