Skip to content

Commit c7c1fb5

Browse files
committed
Update doc
1 parent 08e9828 commit c7c1fb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/utils/createRouter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ function createRouter(options) {
252252
},
253253

254254
/**
255-
* Performs a match of the given path against this router and returns an object with
256-
* the { path, routes, params, query } that match. Returns null if no match can be made.
255+
* Performs a match of the given pathname against this router and returns an object
256+
* with the { routes, params } that match. Returns null if no match can be made.
257257
*/
258258
match: function (path) {
259259
return findMatch(Path.withoutQuery(path), routes, this.defaultRoute, this.notFoundRoute) || null;

0 commit comments

Comments
 (0)