Skip to content

Commit

Permalink
add an Options type
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jan 29, 2022
1 parent 4f6a693 commit 86a7ea2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/adapter-vercel/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { Adapter } from '@sveltejs/kit';

declare function plugin({ external }?: { external?: string[] }): Adapter;
type Options = {
external?: string[];
};

declare function plugin(options?: Options): Adapter;
export = plugin;

0 comments on commit 86a7ea2

Please sign in to comment.