Skip to content

Commit

Permalink
feat: rewrite /result (#808)
Browse files Browse the repository at this point in the history
This update brings a simplification to the `result` package, removing the duplication of the `Option` and `Result` types and their respective implementations. With this new approach, the `Option` and `Result` types now have a single implementation, which is more in line with the Rust language.

---------

Co-authored-by: Jeroen Claassens <support@favware.tech>
  • Loading branch information
kyranet and favna authored Nov 2, 2024
1 parent 78c5a5b commit 4b7c3e6
Show file tree
Hide file tree
Showing 15 changed files with 3,022 additions and 2,945 deletions.
2 changes: 2 additions & 0 deletions packages/result/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export * from './lib/Option';
export * from './lib/OptionError';
export * from './lib/Result';
export * from './lib/ResultError';
Loading

0 comments on commit 4b7c3e6

Please sign in to comment.