Commit Graph

5 Commits

Author SHA1 Message Date
Brice BERNARD
c7565e2d3c Coding style with prettier 2017-12-01 11:07:03 +01:00
Kepler Sticka-Jones
2e6ef3f6a4
Add withRouter HOC to next.js typedef 2017-11-12 12:15:37 -07:00
Andy
0f8472649f next: Make types accessible from outside (#18416) 2017-07-28 12:42:18 -07:00
Drew Hays
0429e70ac5 Fix a few next.js type issues (#18262)
- Some of the `render` parameters should've been made optional.
- The export style of the `'next'` module wasn't correct.
- Added some missing static methods to `Head`
- Some readonly properties of `Router` can be `undefined`.

Note that this also means that `'next'` technically needs to be imported
like `import next = require('next');`
2017-07-24 10:32:29 -07:00
Drew Hays
f7bf798553 passes tests now 2017-07-05 11:43:50 -07:00