export default (guard: boolean, msg: string): void => { if (guard === false) { throw new Error(`[Hero-design] ${msg}`); } };