export const toArray = (item: T | T[]): T[] => Array.isArray(item) ? item : [item];