From 094004dede9341a0d6c1aadc70361728c4b0ad4d Mon Sep 17 00:00:00 2001 From: Adam DeHaven Date: Tue, 13 Feb 2024 12:16:23 -0500 Subject: [PATCH] fix: type --- src/composables/useShiki.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useShiki.ts b/src/composables/useShiki.ts index 2bd1ce0e..43b1cf07 100644 --- a/src/composables/useShiki.ts +++ b/src/composables/useShiki.ts @@ -188,7 +188,7 @@ export default function useShiki() { loadWasm: getWasm, }) - return fromHighlighter(highlighter, { + return fromHighlighter(highlighter as any, { theme: theme === 'light' ? 'material-theme-lighter' : 'material-theme-palenight', }) }