mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
So that ```ts export const runtime = "node" as const export const runtime = "node" as string export const runtime = "node" satisfies string // was already working ``` works
8 lines
137 B
TypeScript
8 lines
137 B
TypeScript
export const config = { maxDuration: 1000 } as {
|
|
maxDuration: number
|
|
}
|
|
|
|
export default function Page() {
|
|
return <main>hello</main>
|
|
}
|