Skip to content

Commit a092a8e

Browse files
use interface
1 parent d188df1 commit a092a8e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/vite-plugin-tempest/src/plugin.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ const TEMPEST_ORIGIN_PLACEHOLDER = 'http://__tempest_placeholder__.test'
1515

1616
let exitHandlersBound = false
1717

18-
export default function tempest(options: { config_file_path?: string } = {}): Plugin {
18+
export interface TempestPluginOptions {
19+
config_file_path?: string;
20+
}
21+
22+
export default function tempest(options: TempestPluginOptions = {}): Plugin {
1923
let viteDevServerUrl: DevelopmentServerUrl
2024
let bridgeFilePath: string
2125
let resolvedConfig: ResolvedConfig

0 commit comments

Comments
 (0)