fix: remove unused ts-expect-error

This commit is contained in:
hanlee 2022-01-09 17:17:25 +09:00
parent 8ef1343fef
commit f799e7f64e
No known key found for this signature in database
GPG Key ID: 17C81448D8058286

View File

@ -87,9 +87,7 @@ 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: {