Skip to content

ifError with error handling is not transpiling sometimes #501

Description

@giorgosnty

Describe the bug
Sometimes when using ifError to handle the error and do so ething it doesn't work.

To Reproduce
const result = driverAvailability.becomeAvailable().ifError((err) => return err;);

Expected behavior
It should transpile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions