From 68830f0d7baf322739583690a30130da9ac92b25 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sun, 28 Jun 2026 22:57:49 +0200 Subject: [PATCH] Fix type error --- source.config.ts | 2 +- src/components/Morph.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source.config.ts b/source.config.ts index 5f14773..9c8b745 100644 --- a/source.config.ts +++ b/source.config.ts @@ -35,7 +35,7 @@ export const blogPosts = defineCollections({ export default defineConfig({ mdxOptions: { rehypeCodeOptions: { - langs: [mist], + langs: [mist as any], themes: { light: "github-light", dark: "github-dark", diff --git a/src/components/Morph.tsx b/src/components/Morph.tsx index c390ab5..2d0dae6 100644 --- a/src/components/Morph.tsx +++ b/src/components/Morph.tsx @@ -11,7 +11,7 @@ interface Props { const highlighterPromise = createHighlighter({ themes: ["github-dark"], - langs: [mist], + langs: [mist as any], }); export default function MorphCode({ code }: Props) {