Fix type error
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
@@ -11,7 +11,7 @@ interface Props {
|
||||
|
||||
const highlighterPromise = createHighlighter({
|
||||
themes: ["github-dark"],
|
||||
langs: [mist],
|
||||
langs: [mist as any],
|
||||
});
|
||||
|
||||
export default function MorphCode({ code }: Props) {
|
||||
|
||||
Reference in New Issue
Block a user