Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MatchResult

import type { MatchResult } from "https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/src/index.ts";

A match result contains data about the path match.

interface MatchResult <P extends ParamData> {
params: P;
path: string;
}

§Type Parameters

§Properties

§
params: P
[src]
§
path: string
[src]