UNPKG

rivo

Version:

🤖 The ultimate library you need for composable type-level programming in TypeScript, powered by HKT.

18 lines (15 loc) • 456 B
import type CompareFn from "./Compare"; // @ts-ignore - `Ord` is only used in doc comments import type { Ord, TypeClass$$Ord } from "../typeclass/Ord"; declare module "../typeclass/Ord" { interface OrdImpl { Num: ImplOrdFor<number, Num$$Ord>; } } /** * Implementation of the {@link Ord} type class for `number`. */ export interface Num$$Ord extends TypeClass$$Ord<number> { Compare: Num$$Ord$CompareFn; } type Num$$Ord$CompareFn = CompareFn;