chore: fix type error

This commit is contained in:
hanlee 2022-01-14 19:32:11 +09:00
parent c4dd813b93
commit 7df00319ea
No known key found for this signature in database
GPG Key ID: 17C81448D8058286

View File

@ -87,7 +87,9 @@ export default defineConfig({
headEnabled: true,
markdownItSetup(md) {
// https://prismjs.com/
// @ts-expect-error types mismatch
md.use(Prism)
// @ts-expect-error types mismatch
md.use(LinkAttributes, {
pattern: /^https?:\/\//,
attrs: {