File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ export default ts.config(
1515 } ,
1616 rules : {
1717 'vue/multi-word-component-names' : 'off' ,
18- 'no-undef' : 'off' ,
18+ 'no-undef' : 'off'
19+ }
20+ } ,
21+ {
22+ rules : {
1923 '@typescript-eslint/no-explicit-any' : 'off'
2024 }
2125 }
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ import { createHighlighter } from 'shiki'
22import type { HighlighterGeneric } from 'shiki'
33import { createJavaScriptRegexEngine } from 'shiki/engine-javascript.mjs'
44
5- // eslint-disable-next-line @typescript-eslint/no-explicit-any
65let highlighter : HighlighterGeneric < any , any > | null = null
7- // eslint-disable-next-line @typescript-eslint/no-explicit-any
86let promise : Promise < HighlighterGeneric < any , any > > | null = null
97
108export const useHighlighter = async ( ) => {
You can’t perform that action at this time.
0 commit comments