Class Route<PartType, StateType, T, PM>

Base class for routes, which parse and match against paths.

Type Parameters

  • PartType extends Part<StateType>

  • StateType extends ExtractParserReturnTypes<PM, keyof PM>

  • T extends string

  • PM extends ParserMap<MergeParamGroups<InferParamGroups<T>>>

Hierarchy

  • Route

Implements

Generated using TypeDoc