rsnext/packages/next/next-server/lib
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
..
router fix(export): fallback to empty string for basePath (#11880) 2020-04-14 19:12:02 -04:00
amp-context.ts Add displayName property to React Context objects (#11829) 2020-04-13 11:55:42 +02:00
amp.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
constants.ts Experimental: React Refresh Support (#12008) 2020-04-19 13:58:31 -04:00
document-context.ts Add displayName property to React Context objects (#11829) 2020-04-13 11:55:42 +02:00
dynamic.tsx Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
fid-measure.js Adds first input delay performance metric (#8884) 2020-04-13 14:46:46 -04:00
fid.ts Adds first input delay performance metric (#8884) 2020-04-13 14:46:46 -04:00
head-manager-context.ts Add displayName property to React Context objects (#11829) 2020-04-13 11:55:42 +02:00
head.tsx Just a small typo I think, right? (#11344) 2020-03-25 13:26:53 +01:00
loadable-context.ts Add displayName property to React Context objects (#11829) 2020-04-13 11:55:42 +02:00
loadable.d.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
loadable.js Prevent extraneous re-renders with next/dynamic (#11587) 2020-04-02 09:22:04 +02:00
mitt.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
request-context.ts Add displayName property to React Context objects (#11829) 2020-04-13 11:55:42 +02:00
router-context.ts Add displayName property to React Context objects (#11829) 2020-04-13 11:55:42 +02:00
runtime-config.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
side-effect.tsx Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
utils.ts Fix type on NextApiHandler (#11988) 2020-04-21 19:14:24 -05:00