Skip to content

Commit

Permalink
chore(types): sync ServerOptions with vite
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Jun 13, 2023
1 parent 7e39e02 commit bfc8580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { createVitePressPlugin } from './plugin'

export async function createServer(
root: string = process.cwd(),
serverOptions: ServerOptions = {},
serverOptions: ServerOptions & { base?: string } = {},
recreateServer?: () => Promise<void>
) {
const config = await resolveConfig(root)
Expand Down

0 comments on commit bfc8580

Please sign in to comment.