mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #21404 from peterjwest/highlight-js-continuation-argument
Fix type for highlight.js continuation argument
This commit is contained in:
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Type definitions for highlight.js v9.1.0
|
||||
// Type definitions for highlight.js v9.12
|
||||
// Project: https://github.com/isagalaev/highlight.js
|
||||
// Definitions by: Niklas Mollenhauer <https://github.com/nikeee>, Jeremy Hull <https://github.com/sourrust>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -9,7 +9,7 @@ declare namespace hljs
|
||||
name: string,
|
||||
value: string,
|
||||
ignore_illegals?: boolean,
|
||||
continuation?: boolean) : IHighlightResult;
|
||||
continuation?: ICompiledMode) : IHighlightResult;
|
||||
export function highlightAuto(
|
||||
value: string,
|
||||
languageSubset?: string[]) : IAutoHighlightResult;
|
||||
@@ -156,4 +156,4 @@ declare namespace hljs
|
||||
|
||||
declare module 'highlight.js' {
|
||||
export = hljs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user