chore(types): sync `ServerOptions` with vite

x-ref: https://github.com/vitejs/vite/pull/13482
pull/2504/head
Divyansh Singh 1 year ago
parent 7e39e02185
commit bfc85805de

@ -5,7 +5,7 @@ import { createVitePressPlugin } from './plugin'
export async function createServer( export async function createServer(
root: string = process.cwd(), root: string = process.cwd(),
serverOptions: ServerOptions = {}, serverOptions: ServerOptions & { base?: string } = {},
recreateServer?: () => Promise<void> recreateServer?: () => Promise<void>
) { ) {
const config = await resolveConfig(root) const config = await resolveConfig(root)

Loading…
Cancel
Save