Benoit Travers
Benoit Travers
Hi 👋 first, a big thank you to @supermacro for `neverthrow`. It popularized errors-as-values in TypeScript and shaped how a lot of us think about error handling. That stands regardless...
I built the proposed API against `packages/core/src` and drove the two real workflows through it. Three findings, verified rather than argued. ## 1. The shape can't express `chargeOrder` — which...
Already implemented and tested. `matchTags` carries an async overload that resolves to `Promise`: ```ts export function matchTags( result: AsyncResult, handlers: TagHandlers, ): Promise; ``` So `await matchTags(asyncResult, handlers)` works without...
Adjacent finding from the `temporal-contract` migration (btravstack/temporal-contract#263): even once you switch to the **free-function** guards, a second narrowing gap remains because `Result` *always* includes the `Defect` variant. ```ts function use(r:...
Fixed by #248, released in `@unthrown/[email protected]`: `unthrown/no-async-result-race`, in the `recommended` preset. The discriminator is the one asked for here — sibling construction is flagged only when consumed sequentially (a `const`...
Closed by #216, which took a different direction — runnable `examples/` packages rather than generalising core's extractor. Recording one thing for anyone who revisits this, because **the count in the...
Good report — the "every signal points the wrong way" section is the useful part, and it's now in the docs. Taking (1) and (2). **#228**: - The README and...
You're right, and thanks for the detail — the 93 disable comments made the cost concrete. The removal's stated migration path does not exist. oxlint ships no `no-restricted-syntax`: ``` $...
`MIGRATION.md` is in the repo now — that's the bigger half, thank you. The npm side doesn't look done though: `@unthrown/pattern` still shows no deprecation notice. ```console $ npm view...
Re-tested against **5.0.0-beta.5** — this one still reproduces. The other four are confirmed fixed (thank you): `errCases` makes the old `.match` shape an excess-property error, `ts-pattern` is now a peer...