We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff9507 commit d75157bCopy full SHA for d75157b
packages/router/src/experimental/route-resolver/matchers/matcher-pattern-query.ts
@@ -13,11 +13,13 @@ import { miss } from './errors'
13
* Handles the `query` part of a URL. It can transform a query object into an
14
* object of params and vice versa.
15
*/
16
-
17
export interface MatcherPatternQuery<
18
TParams extends MatcherParamsFormatted = MatcherParamsFormatted,
19
> extends MatcherPattern<MatcherQueryParams, TParams> {}
20
+/**
21
+ * Matcher for a specific query parameter. It will read and write the parameter
22
+ */
23
export class MatcherPatternQueryParam<T, ParamName extends string>
24
implements MatcherPatternQuery<Record<ParamName, T>>
25
{
0 commit comments