Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 API: URLPatternResult #106

Closed
Laucans opened this issue Nov 1, 2023 · 0 comments · Fixed by #136
Closed

🚧 API: URLPatternResult #106

Laucans opened this issue Nov 1, 2023 · 0 comments · Fixed by #136
Assignees

Comments

@Laucans
Copy link
Contributor

Laucans commented Nov 1, 2023

Context

Specification: URLPattern
Specification interface: URLPatternResult

Additional documentation:

Dependencies:

Expected TypeScript interface

declare interface URLPatternResult {
  /** The inputs provided when matching. */
  inputs: [URLPatternInit] | [URLPatternInit, string];

  /** The matched result for the `protocol` matcher. */
  protocol: URLPatternComponentResult;
  /** The matched result for the `username` matcher. */
  username: URLPatternComponentResult;
  /** The matched result for the `password` matcher. */
  password: URLPatternComponentResult;
  /** The matched result for the `hostname` matcher. */
  hostname: URLPatternComponentResult;
  /** The matched result for the `port` matcher. */
  port: URLPatternComponentResult;
  /** The matched result for the `pathname` matcher. */
  pathname: URLPatternComponentResult;
  /** The matched result for the `search` matcher. */
  search: URLPatternComponentResult;
  /** The matched result for the `hash` matcher. */
  hash: URLPatternComponentResult;
}
This was referenced Nov 1, 2023
@erivas-ligo erivas-ligo self-assigned this Nov 3, 2023
@Laucans Laucans linked a pull request Nov 10, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants