Skip to content

This is not a bug report but something that could be useful to have here #27

Description

@nicoabie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions