diff --git a/.changeset/curly-crews-hide.md b/.changeset/curly-crews-hide.md new file mode 100644 index 000000000000..631e390453fa --- /dev/null +++ b/.changeset/curly-crews-hide.md @@ -0,0 +1,5 @@ +--- +"@sveltejs/adapter-vercel": patch +--- + +fix: updated `@default` annotation for runtime diff --git a/packages/adapter-vercel/index.d.ts b/packages/adapter-vercel/index.d.ts index 74aaed8cd620..ffd6ae11d40b 100644 --- a/packages/adapter-vercel/index.d.ts +++ b/packages/adapter-vercel/index.d.ts @@ -6,7 +6,7 @@ export default function plugin(config?: Config): Adapter; export interface ServerlessConfig { /** * Whether to use [Edge Functions](https://vercel.com/docs/concepts/functions/edge-functions) (`'edge'`) or [Serverless Functions](https://vercel.com/docs/concepts/functions/serverless-functions) (`'nodejs18.x'`, `'nodejs20.x'` etc). - * @default 'nodejs18.x' + * @default Same as the build environment */ runtime?: `nodejs${number}.x`; /**