UNPKG

rivo

Version:

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

17 lines (14 loc) • 423 B
import type { Option } from "."; import type MapFn from "./Map"; import type { Functor, TypeClass$$Functor } from "../typeclass"; declare module "../typeclass/Functor" { interface FunctorImpl { Option: ImplFunctorFor<Option, Option$$Functor>; } } /** * Implementation of the {@link Functor} type class for {@link Option}. */ export interface Option$$Functor extends TypeClass$$Functor<Option> { Map: MapFn; }