Type Alias
DistinctValue
The type of one value returned by SinterCollection.distinct for a field: the element type when the field holds an array.
type DistinctValue<TDocument extends object, TField extends string> = TField extends "_id"
? CustomId
: Exclude<ElementOf<FilterPathValue<TDocument, TField>>, undefined>Defined in packages/driver/src/collection.ts:68