Add `maxDuration` to typescript plugin allowed exports (#59193)
According to [docs](https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#maxduration) and [tests](https://github.com/vercel/next.js/blob/a3616d33edc40e7717b258f2636f280e30a3bccb/test/e2e/app-dir/with-exported-function-config/app/app-ssr-edge/page.tsx#L6C1-L6C7). `maxDuration` should be a valid export. currently TypeScript plugin throws. --------- Co-authored-by:Jiachi Liu <inbox@huozhi.im>
Showing
Please
register
or
sign in
to comment