Skip to content

Commit

Permalink
fix: updated @default annotation for runtime (#12717)
Browse files Browse the repository at this point in the history
  • Loading branch information
GauBen authored Oct 7, 2024
1 parent 8043114 commit 7fb1f5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curly-crews-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sveltejs/adapter-vercel": patch
---

fix: updated `@default` annotation for runtime
2 changes: 1 addition & 1 deletion packages/adapter-vercel/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
/**
Expand Down

0 comments on commit 7fb1f5c

Please sign in to comment.