Skip to content

v2.0.1

Choose a tag to compare

@tatethurston tatethurston released this 14 May 19:33
· 32 commits to main since this release
231d0f3

2.0.1

  • Fix GetServerSidePropsContext and GetServerSidePropsResult types. Thanks @po4tion!

  • Change generated file location from nextjs-routes.d.ts to @types/nextjs-routes.d.ts. Thanks @po4tion!

    To preserve the old location, make the following change to your next.config.js:

    const nextRoutes = require("nextjs-routes/config");
    const withRoutes = nextRoutes({
    +  outDir: "",
    });

    Otherwise, delete your old nextjs-routes.d.ts once @types/nextjs-routes.d.ts is generated.

New Contributors

Full Changelog: v2.0.0...v2.0.1