Skip to content

Incorrect return type for parsePath #292

@ComfortablyCoding

Description

@ComfortablyCoding

Environment

  • Node.js: v22.14.0
  • ufo: 1.6.1

Reproduction

export function parsePath(input = ""): ParsedURL {

Describe the bug

The return type of parsePath is set as ParsedURL which contains properties that are not returned by parsePath

Additional context

No response

Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions