File tree 1 file changed +2
-4
lines changed 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ declare module 'highlight.js' {
169
169
disableAutodetect ?: boolean
170
170
contains : ( Mode ) [ ]
171
171
case_insensitive ?: boolean
172
- keywords ?: Record < string , any > | string
172
+ keywords ?: string | string [ ] | Record < string , string | string [ ] >
173
173
isCompiled ?: boolean ,
174
174
exports ?: any ,
175
175
classNameAliases ?: Record < string , string >
@@ -250,7 +250,7 @@ declare module 'highlight.js' {
250
250
parent ?: Mode
251
251
starts ?:Mode
252
252
lexemes ?: string | RegExp
253
- keywords ?: Record < string , any > | string
253
+ keywords ?: string | string [ ] | Record < string , string | string [ ] >
254
254
beginKeywords ?: string
255
255
relevance ?: number
256
256
illegal ?: string | RegExp | Array < string | RegExp >
@@ -272,5 +272,3 @@ declare module 'highlight.js/lib/languages/*' {
272
272
const defineLanguage : LanguageFn ;
273
273
export default defineLanguage ;
274
274
}
275
-
276
-
You can’t perform that action at this time.
0 commit comments