Skip to content

Commit

Permalink
update typescript plugin exports to support experimental_ppr
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed May 23, 2024
1 parent 5017a41 commit e32fdf7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/next/src/server/typescript/rules/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ const API_DOCS: Record<
'`maxDuration` allows you to set max default execution time for your function. If it is not specified, the default value is dependent on your deployment platform and plan.',
link: 'https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#maxduration',
},
experimental_ppr: {
description: `Enables experimental Partial Prerendering (PPR) for this page / layout, when PPR is set to "incremental" mode.`,
link: 'https://rc.nextjs.org/docs/app/api-reference/next-config-js/ppr',
options: {
true: 'Enable PPR for this route',
false: 'Disable PPR for this route',
},
},
}

function visitEntryConfig(
Expand Down

0 comments on commit e32fdf7

Please sign in to comment.