We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9245360 commit 60764a7Copy full SHA for 60764a7
types/index.d.ts
@@ -30,7 +30,7 @@ declare module 'highlight.js' {
30
31
interface PublicApi {
32
highlight(code: string, options: HighlightOptions): HighlightResult
33
- /** @deprecated use `higlight(code, {lang: ..., ignoreIllegals: ...})` */
+ /** @deprecated use `highlight(code, {language: ..., ignoreIllegals: ...})` */
34
highlight(languageName: string, code: string, ignoreIllegals?: boolean): HighlightResult
35
highlightAuto: (code: string, languageSubset?: string[]) => AutoHighlightResult
36
highlightBlock: (element: HTMLElement) => void
0 commit comments