import { IComparer } from "../../types/IComparer" ; import { IEnumerable } from "../../types/IEnumerable" ; import { IOrderedEnumerable } from "../../types/IOrderedEnumerable" ; import { OrderedEnumerable } from "../OrderedEnumerable" ; param source param keySelector param comparer returns export const orderByDescending = < TSource , TKey > ( source , keySelector , comparer ? ) : IOrderedEnumerable < TSource > => { return OrderedEnumerable . generate < TSource , TKey > ( source , keySelector , false , comparer ) ; } ;