Commit Graph

10 Commits

Author SHA1 Message Date
Andy
a45998b19c next: Convert to external modules (#20046) 2017-09-26 11:15:49 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -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
001235c776 clean up imports 2017-07-06 08:39:19 -07:00
Drew Hays
abf3f82b72 Use native React.ComponentType definition 2017-07-06 07:36:22 -07:00
Drew Hays
e97722eb0e fix "expect" in tslint 2017-07-05 12:30:20 -07:00
Drew Hays
f7bf798553 passes tests now 2017-07-05 11:43:50 -07:00
Drew Hays
d12e78563c follow pull request template 2017-07-05 11:28:43 -07:00
Drew Hays
205aa683dc Add types for next.js 2017-07-05 11:10:45 -07:00