Fix type error

This commit is contained in:
2026-06-28 22:57:49 +02:00
parent 2ef663f88b
commit 68830f0d7b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export const blogPosts = defineCollections({
export default defineConfig({ export default defineConfig({
mdxOptions: { mdxOptions: {
rehypeCodeOptions: { rehypeCodeOptions: {
langs: [mist], langs: [mist as any],
themes: { themes: {
light: "github-light", light: "github-light",
dark: "github-dark", dark: "github-dark",
+1 -1
View File
@@ -11,7 +11,7 @@ interface Props {
const highlighterPromise = createHighlighter({ const highlighterPromise = createHighlighter({
themes: ["github-dark"], themes: ["github-dark"],
langs: [mist], langs: [mist as any],
}); });
export default function MorphCode({ code }: Props) { export default function MorphCode({ code }: Props) {