Valentin Palkovic 9ba7f9439b Fix Next.js type references in Next.js > 13.2.0
Added some type references for Next.js stories, since they are necessary since Next.js 13.2.0,
because some types in `next/navigation` are not exported per default, but
type references are dynamically created during Next.js start up.
See cdf1d52d9a
for more insights.
2023-02-28 18:20:58 +01:00

8 lines
384 B
TypeScript

// Reference necessary since Next.js 13.2.0, because types in `next/navigation` are not exported per default, but
// type references are dynamically created during Next.js start up.
// See https://github.com/vercel/next.js/commit/cdf1d52d9aed42d01a46539886a4bda14cb77a99
// for more insights.
/// <reference types="next" />
/// <reference types="next/navigation-types/navigation" />