Typescript error when setting export const experimental_ppr = true; #70735
Unanswered
ryanknight09
asked this question in
Help
Replies: 1 comment 9 replies
-
Hi, I think the RC branch hasn't been updated for a while now. I found this, merged to canary, PR: Which shows, that the issue you are facing has been fixed, in canary. My guess is that RC hasn't received these commits just yet. I see in the TypeScript plugin code, that Also, this comment, #70718 (comment), validates that the RC, hasn't been updated for some time. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
When enableing ppr in Next.js 15RC, the export const experimental_ppr = true; in a page.tsx or layout.tsx file is considered an error by typescript still.
"experimental_ppr" is not a valid Next.js entry export value.ts(71002)
Is there a fix to this or am I missing something? The feature works as expected and the builds come work just fine as well. The type error is just annoying in my layout file. Thanks for the insight.
Additional information
Next config:
`
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
ppr: 'incremental',
},
};
export default nextConfig;
`
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions