Skip to content

Disappointed - Didn't work #9

@redevill

Description

@redevill

While this may be my lack of understanding... the example is flawed.
The typescript type says the function should return a promise -
At a min - it should be: return Promise.resolve(request); To satisfy the typing.

The typing also states that the intercept expects options, so the HTTPS example needs merging with the first.
After getting through all this... It would not intercept anything for me.
Sigh - expected too much from an abandoned project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions