rsnext/test/integration/typescript
Brandon Duffany 548a01754d
Fix type on NextApiHandler (#11988)
* Fix type on NextApiHandler

The example [here](https://nextjs.org/docs/api-routes/api-middlewares) shows that `NextApiHandler` can be async, so the return type should be `void | Promise<void>`.

* Add TS integration tests for API
2020-04-21 19:14:24 -05:00
..
components Add TypeScript Definitions for Sass (#10363) 2020-02-03 00:03:42 -05:00
extension-order Resolve TypeScript Extension in Correct Order (#12014) 2020-04-19 01:12:36 -04:00
pages Fix type on NextApiHandler (#11988) 2020-04-21 19:14:24 -05:00
test Resolve TypeScript Extension in Correct Order (#12014) 2020-04-19 01:12:36 -04:00
next.config.js Enable scss/sass support (#10571) 2020-02-18 08:35:12 -05:00
tsconfig.json Improve exported router types (#7853) 2019-07-11 13:35:39 -04:00