@typed-f/maybe
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="0.3.6"></a> | ||
## [0.3.6](https://github.com/Ailrun/typed-f/compare/v0.3.5...v0.3.6) (2018-08-29) | ||
### Bug Fixes | ||
* **maybe:** fix type of Maybe.from ([#47](https://github.com/Ailrun/typed-f/issues/47)) ([07037fb](https://github.com/Ailrun/typed-f/commit/07037fb)) | ||
<a name="0.3.5"></a> | ||
@@ -8,0 +20,0 @@ ## [0.3.5](https://github.com/Ailrun/typed-f/compare/v0.3.4...v0.3.5) (2018-08-28) |
@@ -78,4 +78,3 @@ import { Fun } from '@typed-f/function'; | ||
const of: typeof unit; | ||
function from(value?: null): Nothing<any>; | ||
function from<T>(value: T): Just<T>; | ||
function from<T>(value?: T | null): Maybe<T>; | ||
const maybe: typeof from; | ||
@@ -82,0 +81,0 @@ function sequenceObject<O extends object>(obj: { |
{ | ||
"name": "@typed-f/maybe", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"keywords": [ | ||
@@ -55,3 +55,3 @@ "Maybe", | ||
}, | ||
"gitHead": "b5b4f7744ee4d867eac3df91e424fc14d4df2103" | ||
"gitHead": "f61a834b893b09b5734571d97d1300bd5b3f6f21" | ||
} |
@@ -172,4 +172,2 @@ /* | ||
export function from(value?: null): Nothing<any>; | ||
export function from<T>(value: T): Just<T>; | ||
export function from<T>(value?: T | null): Maybe<T> { | ||
@@ -176,0 +174,0 @@ if (value == undefined) { |
33632
683