fix(core): Fix TypeScript type definition for route match function
This commit is contained in:
@@ -32,7 +32,7 @@ export class SmartRouter {
|
||||
* the routes we are handling
|
||||
*/
|
||||
public routes: Array<{
|
||||
matchFunction: plugins.pathToRegExp.MatchFunction;
|
||||
matchFunction: plugins.pathToRegExp.MatchFunction<any>;
|
||||
handler: THandlerFunction;
|
||||
}> = [];
|
||||
|
||||
|
Reference in New Issue
Block a user