File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { purry } from "remeda"
2- import type { Thunk , UnaryFn } from "./types.js"
32import type { Option } from "./option.js"
43import { isSome , some } from "./option.js"
4+ import type { Thunk , UnaryFn } from "./types.js"
55import { unwrap } from "./unwrap.js"
66
77export function mapOrElse < T , U > (
Original file line number Diff line number Diff line change 11import { purry } from "remeda"
2- import type { UnaryFn } from "./types.js"
32import type { Option } from "./option.js"
43import { isSome , some } from "./option.js"
4+ import type { UnaryFn } from "./types.js"
55import { unwrap } from "./unwrap.js"
66
77export function mapOr < T , U > (
Original file line number Diff line number Diff line change 11import { purry } from "remeda"
2- import type { UnaryFn } from "./types.js"
32import type { Option } from "./option.js"
43import { isSome , some } from "./option.js"
4+ import type { UnaryFn } from "./types.js"
55import { unwrap } from "./unwrap.js"
66
77export function map < T , U > ( f : UnaryFn < T , U > ) : ( opt : Option < T > ) => Option < U >
You can’t perform that action at this time.
0 commit comments