f-box-core
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -69,3 +69,3 @@ type None = null | undefined | void; | ||
*/ | ||
readonly orElse: <U>(defaultValue: Either<L, U>) => Either<L, U>; | ||
readonly orElse: (defaultValue: Either<L, R>) => Either<L, R>; | ||
/** | ||
@@ -78,3 +78,3 @@ * Returns the provided default value since this represents an invalid result. | ||
*/ | ||
readonly "<?>": <U>(defaultValue: Either<L, U>) => Either<L, U>; | ||
readonly "<?>": (defaultValue: Either<L, R>) => Either<L, R>; | ||
/** | ||
@@ -85,3 +85,3 @@ * Returns the provided default value since this represents an invalid result. | ||
*/ | ||
readonly getOrElse: <U>(defaultValue: U) => U; | ||
readonly getOrElse: (defaultValue: R) => R; | ||
/** | ||
@@ -94,3 +94,3 @@ * Returns the provided default value since this represents an invalid result. | ||
*/ | ||
readonly "<|>": <U>(defaultValue: U) => U; | ||
readonly "<|>": (defaultValue: R) => R; | ||
/** | ||
@@ -97,0 +97,0 @@ * Matches the `Left` case and applies the corresponding function. |
{ | ||
"name": "f-box-core", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "Put your data in a box, and suddenly it's easier to handle, transform, and use however you need.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
53523