No description
Find a file
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
.github Add Node.js version to Bug template (#11781) 2020-04-10 12:30:44 +02:00
.vscode Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
bench Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
docs Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00
errors Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00
examples Rosetta i18n example (#11841) 2020-04-21 12:49:18 -05:00
packages Fix type on NextApiHandler (#11988) 2020-04-21 19:14:24 -05:00
test Fix type on NextApiHandler (#11988) 2020-04-21 19:14:24 -05:00
.eslintignore Experimental: React Refresh Support (#12008) 2020-04-19 13:58:31 -04:00
.eslintrc.json Remove react import in create-next-app template (#10564) 2020-02-18 09:51:11 +01:00
.gitignore Improve exported router types (#7853) 2019-07-11 13:35:39 -04:00
.npmrc Remove version prefix 2018-10-02 01:35:56 +02:00
.prettierignore Experimental: React Refresh Support (#12008) 2020-04-19 13:58:31 -04:00
.prettierignore_staged Pre-ncc compiled packages to prevent re-nccing unnecessarily (#11569) 2020-04-07 09:42:16 -04:00
.prettierrc.json Update Prettier configuration 2019-04-26 14:37:30 -04:00
azure-pipelines.yml Update to track test timings separate for Azure and Actions (#12083) 2020-04-21 16:11:04 -04:00
check-pre-compiled.sh Pre-ncc compiled packages to prevent re-nccing unnecessarily (#11569) 2020-04-07 09:42:16 -04:00
CODE_OF_CONDUCT.md Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00
contributing.md Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00
jest.config.js Update to output jest data for posting failed tests comment (#10814) 2020-03-04 09:54:49 +01:00
lerna.json v9.3.6-canary.8 2020-04-21 17:37:03 -04:00
license.md Update year on license files 2020-04-21 12:24:08 +02:00
lint-staged.config.js Pre-ncc compiled packages to prevent re-nccing unnecessarily (#11569) 2020-04-07 09:42:16 -04:00
package.json Experimental: React Refresh Support (#12008) 2020-04-19 13:58:31 -04:00
publish-release.sh Make sure to exit publish script with correct code (#10310) 2020-01-28 14:03:32 -05:00
readme.md Monorepo (#5341) 2018-10-01 01:02:10 +02:00
run-tests.js Update to track test timings separate for Azure and Actions (#12083) 2020-04-21 16:11:04 -04:00
UPGRADING.md Move upgrading guide to /docs (#10727) 2020-02-28 23:46:18 +01:00
yarn.lock Upgrade webpack (#12082) 2020-04-21 16:05:29 -04:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the documentation.

Contributing

Please see our contributing.md.

Authors