import { Infer, Struct } from 'superstruct'; export type Unique> = ( struct: Struct[], Infer>, eq?: (a: Infer, b: Infer) => boolean, ) => Struct[], Infer>;