sern-handler / handler

Create your dream Discord bot!
https://sern.dev
MIT License
38 stars 9 forks source link

refactor: remove ts-results-es #366

Closed jacoobes closed 2 months ago

jacoobes commented 2 months ago

ts-results-es, although rich in features, has too many things we don't need anymore, and I've decided to opt in for a simpler in house implementation.

DuroCodes commented 2 months ago

Is there any reason to have the isOk function? couldn't you just check result.ok?

Once you check result.ok, its should infer that the result is { ok: true, value: T }