@sapphire/result 2.6.7-pr-725.55b1ff7b.0 → 2.7.0-next.4b7c3e6c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/cjs/index.cjs +1774 -540
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +274 -358
- package/dist/esm/index.d.mts +274 -358
- package/dist/esm/index.mjs +1769 -537
- package/dist/esm/index.mjs.map +1 -1
- package/dist/iife/index.global.js +1774 -540
- package/dist/iife/index.global.js.map +1 -1
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
**A TypeScript port of Nightly Rust's Result and Option structs**
|
|
8
8
|
|
|
9
9
|
[](https://github.com/sapphiredev/utilities/blob/main/LICENSE.md)
|
|
10
|
-
[](https://codecov.io/gh/sapphiredev/utilities)
|
|
11
10
|
[](https://bundlephobia.com/result?p=@sapphire/result)
|
|
12
11
|
[](https://www.npmjs.com/package/@sapphire/result)
|
|
13
12
|
|
|
@@ -37,7 +36,7 @@ npm install @sapphire/result
|
|
|
37
36
|
|
|
38
37
|
**Note 1:** While this section uses `require`, the imports match 1:1 with ESM imports. For example `const { Result } = require('@sapphire/result')` equals `import { Result } from '@sapphire/result'`.
|
|
39
38
|
|
|
40
|
-
**Note 2:** For more thorough examples check out the generated documentation on [our website here](https://www.sapphirejs.dev/docs/Documentation/api-utilities/interfaces/
|
|
39
|
+
**Note 2:** For more thorough examples check out the generated documentation on [our website here](https://www.sapphirejs.dev/docs/Documentation/api-utilities/@sapphire/result/interfaces/IResult)
|
|
41
40
|
|
|
42
41
|
### Wrapping synchronous `try-catch` blocks
|
|
43
42
|
|