mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-02 01:20:07 +00:00
* [@types/next] Update Router.push() method to include UrlLike type
Allow a valid UrlLike object instead of only a string type e.g
```
Router.push({
pathname: '/pathname',
query: {
prop1: '',
prop2: '',
},
});
```
https://github.com/zeit/next.js/#with-url-object-1
* Update router.d.ts