]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: comment
authorEduardo San Martin Morote <posva13@gmail.com>
Sun, 31 Aug 2025 11:41:32 +0000 (13:41 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sun, 31 Aug 2025 11:41:32 +0000 (13:41 +0200)
packages/router/src/experimental/route-resolver/matchers/matcher-pattern-query.ts

index dfabc658258511766b4f2191ef20c1e9817e1de9..53d65855b336d85df84493f61883541fb2172ca5 100644 (file)
@@ -13,11 +13,13 @@ import { miss } from './errors'
  * Handles the `query` part of a URL. It can transform a query object into an
  * object of params and vice versa.
  */
-
 export interface MatcherPatternQuery<
   TParams extends MatcherParamsFormatted = MatcherParamsFormatted,
 > extends MatcherPattern<MatcherQueryParams, TParams> {}
 
+/**
+ * Matcher for a specific query parameter. It will read and write the parameter
+ */
 export class MatcherPatternQueryParam<T, ParamName extends string>
   implements MatcherPatternQuery<Record<ParamName, T>>
 {