We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6196a7e commit 264d027Copy full SHA for 264d027
src/url/urlRule.ts
@@ -38,7 +38,7 @@ export class UrlRuleFactory {
38
const makeRule = pattern([
39
[isString, (_what: string) => makeRule(this.compile(_what))],
40
[is(UrlMatcher), (_what: UrlMatcher) => this.fromUrlMatcher(_what, handler)],
41
- [isState, (_what: StateObject) => this.fromState(_what, this.router)],
+ [isState, (_what: StateObject) => this.fromState(_what, this.router)],
42
[is(RegExp), (_what: RegExp) => this.fromRegExp(_what, handler)],
43
[isFunction, (_what: UrlRuleMatchFn) => new BaseUrlRule(_what, handler as UrlRuleHandlerFn)],
44
]);
0 commit comments