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.
match
1 parent a7f8a88 commit befcce4Copy full SHA for befcce4
src/router/reg-exp-router/prepared-router.ts
@@ -64,7 +64,7 @@ export class PreparedRegExpRouter<T> implements Router<T> {
64
return this.#matchers
65
}
66
67
- match = match
+ match: typeof match<Router<T>, T> = match
68
69
70
export const buildInitParams: (params: {
src/router/reg-exp-router/router.ts
@@ -205,7 +205,7 @@ export class RegExpRouter<T> implements Router<T> {
205
206
207
208
- match = match;
+ match: typeof match<Router<T>, T> = match;
209
210
[buildAllMatchersKey](): MatcherMap<T> {
211
const matchers: MatcherMap<T> = {}
0 commit comments