Hi. first of all thanks for this great lib.
I migrated a project from throwing exceptions to typescript-results and in some cases I had floating promises that returned a result type.
IE before
await checkThatMayThrow()
after
await checkThatReturnResultType()
it should be considered an error to discard the value of an async result type (in general)
So I created an eslint rule to detect these cases, maybe something that could be shared.
Hi. first of all thanks for this great lib.
I migrated a project from throwing exceptions to typescript-results and in some cases I had floating promises that returned a result type.
IE before
after
it should be considered an error to discard the value of an async result type (in general)
So I created an eslint rule to detect these cases, maybe something that could be shared.