Skip to content

Export types other than URIComponents #91

@dmsehuang

Description

@dmsehuang

Hi there, this library is awesome! However, when I am trying to use it to parse a mailto protocol string, I can't access the to properties in the URIComponents interface.

Can you please export types/interfaces such as MailToComponents so that I don't need to do this:

const { to } = URI.parse(url) as MailtoComponents;

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