Skip to content

Commit e32ffdf

Browse files
authored
Fix incorrect deprecated comment (#4243)
1 parent e4cefdd commit e32ffdf

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy