@swan-io/boxed
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -14,3 +14,3 @@ import { Option } from "./Option"; | ||
map<ReturnValue>(f: (value: Ok) => ReturnValue): Result<ReturnValue, Error>; | ||
flatMap<ReturnValue>(f: (value: Ok) => Result<ReturnValue, Error>): Result<ReturnValue, Error>; | ||
flatMap<ReturnValue, ResultError = Error>(f: (value: Ok) => Result<ReturnValue, ResultError | Error>): Result<ReturnValue, ResultError | Error>; | ||
getWithDefault(defaultValue: Ok): Ok; | ||
@@ -17,0 +17,0 @@ match<ReturnValue>(config: { |
{ | ||
"name": "@swan-io/boxed", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"license": "MIT", | ||
@@ -25,2 +25,6 @@ "description": "Utility types for functional TypeScript", | ||
], | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"prettier": { | ||
@@ -27,0 +31,0 @@ "trailingComma": "all" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
104943
18