@hazae41/result
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -171,3 +171,3 @@ import { None, Some } from '@hazae41/option'; | ||
*/ | ||
awaitErr(): Promise<Err<Awaited<T>>>; | ||
awaitErr<T>(this: Err<PromiseLike<T>>): Promise<Err<Awaited<T>>>; | ||
/** | ||
@@ -177,3 +177,3 @@ * Transform Result<Promise<T>, Promise<E>> into Promise<Result<T, E>> | ||
*/ | ||
awaitAll(): Promise<Err<Awaited<T>>>; | ||
awaitAll<T>(this: Err<PromiseLike<T>>): Promise<Err<Awaited<T>>>; | ||
/** | ||
@@ -180,0 +180,0 @@ * Transform `Result<T, E>` into `Result<void, E>` |
@@ -158,3 +158,3 @@ import { Some, None } from '@hazae41/option'; | ||
*/ | ||
await(): Promise<Ok<Awaited<T>>>; | ||
await<T>(this: Ok<PromiseLike<T>>): Promise<Ok<Awaited<T>>>; | ||
/** | ||
@@ -169,3 +169,3 @@ * Transform Result<T, Promise<E>> into Promise<Result<T, E>> | ||
*/ | ||
awaitAll(): Promise<Ok<Awaited<T>>>; | ||
awaitAll<T>(this: Ok<PromiseLike<T>>): Promise<Ok<Awaited<T>>>; | ||
/** | ||
@@ -172,0 +172,0 @@ * Transform `Result<T, E>` into `Result<void, E>` |
{ | ||
"type": "module", | ||
"name": "@hazae41/result", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Rust-like Result for TypeScript", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/result", |
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
213400