Skip to content

Commit d75157b

Browse files
committed
chore: comment
1 parent 7ff9507 commit d75157b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/router/src/experimental/route-resolver/matchers/matcher-pattern-query.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ import { miss } from './errors'
1313
* Handles the `query` part of a URL. It can transform a query object into an
1414
* object of params and vice versa.
1515
*/
16-
1716
export interface MatcherPatternQuery<
1817
TParams extends MatcherParamsFormatted = MatcherParamsFormatted,
1918
> extends MatcherPattern<MatcherQueryParams, TParams> {}
2019

20+
/**
21+
* Matcher for a specific query parameter. It will read and write the parameter
22+
*/
2123
export class MatcherPatternQueryParam<T, ParamName extends string>
2224
implements MatcherPatternQuery<Record<ParamName, T>>
2325
{

0 commit comments

Comments
 (0)