Merge pull request #7841 from JcDelay/master

highlight.js: support v9.1.0
This commit is contained in:
Masahiro Wakame
2016-01-29 14:03:56 +09:00
+8 -3
View File
@@ -1,4 +1,4 @@
// Type definitions for highlight.js v8.2.0
// Type definitions for highlight.js v9.1.0
// 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/borisyankov/DefinitelyTyped
@@ -35,6 +35,11 @@ declare module hljs
export function inherit(parent: Object, obj: Object): Object;
export function COMMENT(
begin: (string|RegExp),
end: (string|RegExp),
inherits: IModeBase): IMode;
// Common regexps
export var IDENT_RE: string;
export var UNDERSCORE_IDENT_RE: string;
@@ -111,8 +116,8 @@ declare module hljs
{
className?: string;
aliases?: string[];
begin?: string;
end?: string;
begin?: (string|RegExp);
end?: (string|RegExp);
case_insensitive?: boolean;
beginKeyword?: string;
endsWithParent?: boolean;