From ed003487993d1ddf81f11eb4f8790da6e7e857cf Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 2 Nov 2021 09:16:21 +0800 Subject: [PATCH] chore: fix types --- vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 717174d..4fb6c19 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -86,7 +86,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: {