Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Feb 13, 2024
1 parent 691a39c commit 094004d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useShiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
})
}
Expand Down

0 comments on commit 094004d

Please sign in to comment.