mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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
|
||
|---|---|---|
| .. | ||
| test | ||
| document.d.ts | ||
| dynamic.d.ts | ||
| error.d.ts | ||
| head.d.ts | ||
| index.d.ts | ||
| link.d.ts | ||
| router.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||