Skip to content

Commit e7e0db7

Browse files
committed
chore: updated types
1 parent 97b3e31 commit e7e0db7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/runtime/src/templates/edge-shared/rsc-data.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
import type { EdgeFunction } from 'https://edge.netlify.com'
22

3+
// These are copied from next/dist/build. This file gets copied as part of the next
4+
// runtime build and can't reference the next package directly.
5+
//
6+
// Latest types at https://github.com/vercel/next.js/blob/4a2df3c3752aeddc50fd5ab053440eccf71ae50b/packages/next/src/build/index.ts#L140
37
export declare type SsgRoute = {
48
initialRevalidateSeconds: number | false
59
srcRoute: string | null
6-
dataRoute: string
10+
dataRoute: string | null
711
}
812
export declare type DynamicSsgRoute = {
913
routeRegex: string
1014
fallback: string | null | false
11-
dataRoute: string
15+
dataRoute: string | null
1216
dataRouteRegex: string
1317
}
1418
export declare type PrerenderManifest = {

0 commit comments

Comments
 (0)