@sapphire/result
Advanced tools
Comparing version 2.7.3-next.2782a0d7 to 2.7.3-next.354bdda8
@@ -794,4 +794,6 @@ var SapphireResult = (function (exports) { | ||
return this.match({ | ||
// @ts-expect-error Complex types | ||
ok: /* @__PURE__ */ __name(async (value) => ok(await value), "ok"), | ||
// NOSONAR | ||
// @ts-expect-error Complex types | ||
err: /* @__PURE__ */ __name(async (error) => err(await error), "err") | ||
@@ -1643,3 +1645,2 @@ // NOSONAR | ||
return this.match({ | ||
// @ts-expect-error Complex types | ||
some: /* @__PURE__ */ __name((result) => result.map(some), "some"), | ||
@@ -1646,0 +1647,0 @@ none: /* @__PURE__ */ __name(() => ok(none), "none") |
{ | ||
"name": "@sapphire/result", | ||
"version": "2.7.3-next.2782a0d7", | ||
"version": "2.7.3-next.354bdda8", | ||
"description": "A TypeScript port of Nightly Rust's Result and Option structs", | ||
@@ -5,0 +5,0 @@ "author": "@sapphire", |
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
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
622333
5668