@hazae41/result
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -65,4 +65,10 @@ import { Promiseable } from '../../libs/promises/promises.js'; | ||
function catchAndWrapSync<T, E>(callback: () => T, ...types: Class<E>[]): Ok<T> | Err<E>; | ||
/** | ||
* Unwrap all elements from `iterable` | ||
* @param iterable | ||
* @returns | ||
*/ | ||
function all<T, E>(iterable: Iterable<Result<T, E>>): Iterator<T, Result<void, E>>; | ||
} | ||
export { Result, Wrapper }; |
{ | ||
"type": "module", | ||
"name": "@hazae41/result", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "Rust-like Result for TypeScript", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/result", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152119
2329