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

Hi @supermacro and all the contributors, I love neverthrow, thank you for this great library! In the ideal functional world, we don't want side-effects but in reality, we do need...

Hello ! We have started using neverthrow at my company and we are very happy with the lib :) It helps us a lot making our code safer and predictable...

`Result` is broken. It doesn't track ok type changes. ```typescript import { Result, ok, err } from 'neverthrow'; const a: Result = err(1); const b: Result = a.orElse(() => ok('A'));...

I want to re-export the combine functions like this ```typescript import { Result } from 'neverthrow'; export function combine(resultList: T) { return Result.combine(resultList); } ``` It works fine, but the...

Typescript 5.2 introduced the `using` keyword. One thing that I find hard with neverthrow is checking for unhandled result. The eslint plugin brings helpful linter errors but I wanted to...

Bumps [ws](https://github.com/websockets/ws) from 7.5.7 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). 7.5.9 Bug fixes Backported bc8bd34e to the...

dependencies

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies

Hey everyone! Sorry for going MIA ... I'm starting a new company and unfortunately haven't had the time to give neverthrow the love it deserves. If you'd be interested in...

## Description Add 'finally' functionality to neverthrow. Overall leads to clearer typing with less verbose code. The mental model is similar to the native [finally](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/finally). This PR attempts to solve...

Hi, I noticed you recently added the optional `@rollup/rollup-linux-x64-gnu` package in the `optionalDependencies`. I am now wondering if you really need this entry or if it can be moved to...