Skip to content

Make return value never undefined if passing acceptCloudflareNotice: true #60

@chadxz

Description

@chadxz

Describe the feature

This is a small thing but it would be nice if the startTunnel() return type did not include undefined if I pass acceptCloudflareNotice: true as an option. Looking at the code, the only scenario it would be undefined is if it wasn't accepted.

I'm no TypeScript wizard but it seems like it may be possible?

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions