Skip to content

Commit 60764a7

Browse files
brandondongewwwin
authored andcommitted
Fix incorrect deprecated comment (#4243)
1 parent 9245360 commit 60764a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ declare module 'highlight.js' {
3030

3131
interface PublicApi {
3232
highlight(code: string, options: HighlightOptions): HighlightResult
33-
/** @deprecated use `higlight(code, {lang: ..., ignoreIllegals: ...})` */
33+
/** @deprecated use `highlight(code, {language: ..., ignoreIllegals: ...})` */
3434
highlight(languageName: string, code: string, ignoreIllegals?: boolean): HighlightResult
3535
highlightAuto: (code: string, languageSubset?: string[]) => AutoHighlightResult
3636
highlightBlock: (element: HTMLElement) => void

0 commit comments

Comments
 (0)