export const unique = (arr: T[]) => [...new Set(arr)]