Commit Graph
7 Commits
Author SHA1 Message Date
Brice BERNARD beb3ffadc6 Make query param less restrictive 2017-12-02 09:09:45 +01:00
Brice BERNARD 98d2bc9bb3 Update query param typing 2017-12-01 11:10:02 +01:00
Brice BERNARD c7565e2d3c Coding style with prettier 2017-12-01 11:07:03 +01:00
Nathan Shively-Sanders d60cf71751 Merge pull request #21458 from keplersj/next-js-with-router-hoc
Add withRouter HOC to next.js typedef
2017-11-17 16:16:04 -08:00
Kepler Sticka-Jones 2e6ef3f6a4 Add withRouter HOC to next.js typedef 2017-11-12 12:15:37 -07:00
mattywong 68a737fd80 [@types/next] Update Router.push() method to include UrlLike type (#20671)
* [@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
2017-10-19 08:04:18 -07:00
Andy a45998b19c next: Convert to external modules (#20046) 2017-09-26 11:15:49 -07:00