chore: fix types

This commit is contained in:
Anthony Fu 2021-11-02 09:16:21 +08:00
parent 60a52456f1
commit ed00348799

View File

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