fix type errors

pull/394/head
宋铄运 (Alan Song) 4 years ago committed by GitHub
parent 158576fc70
commit 418fe79906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -273,5 +273,5 @@ export function createVitePressPlugin(
} }
} }
return [vitePressPlugin, vuePlugin, ...(userViteConfig.plugins || [])] return [vitePressPlugin, vuePlugin, ...(userViteConfig?.plugins || []) as Plugin[]]
} }

Loading…
Cancel
Save