neverthrow icon indicating copy to clipboard operation
neverthrow copied to clipboard

Type-Safe Errors for JS & TypeScript

Results 126 neverthrow issues
Sort by recently updated
recently updated
newest added

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Rate-Limited These updates are currently rate-limited. Click on a checkbox below to force...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`14.17.4` -> `14.18.26`](https://renovatebot.com/diffs/npm/@types%2fnode/14.17.4/14.18.26) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/14.18.26/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/core](https://babel.dev/docs/en/next/babel-core) ([source](https://togithub.com/babel/babel)) | [`7.16.7` -> `7.18.13`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.16.7/7.18.13) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://togithub.com/rollup/rollup)) | [`2.75.6` -> `2.78.1`](https://renovatebot.com/diffs/npm/rollup/2.75.6/2.78.1) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.2.1` -> `2.7.1`](https://renovatebot.com/diffs/npm/prettier/2.2.1/2.7.1) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`4.7.2` -> `4.7.4`](https://renovatebot.com/diffs/npm/typescript/4.7.2/4.7.4) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`27.4.1` -> `27.5.2`](https://renovatebot.com/diffs/npm/@types%2fjest/27.4.1/27.5.2) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/27.5.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | cimg/node | docker | minor | `14.17.1` -> `14.20.0` | ---...

``` const r = ResultAsync .fromSafePromise(new Promise((resolve) => resolve(123))) .andThen((num) => { return errAsync(num); }); ``` its type is `ResultAsync` instead of `ResultAsync` because fromSafePromise returns `ResultAsync` and "unknown" is...

# Why would someone need this? There are two ways to create ResultAsync from promises. ## Method 1 Directly calling `new ResultAsync(promise)`. This is not documented & it is not...