forked from Botanical/BotanJS
Migrate old externs 8/x
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
/** @constructor */
|
||||
Libraries.SyntaxHighlighter.Brush = function (){};
|
||||
|
||||
/** @type {Object} */
|
||||
Libraries.SyntaxHighlighter.Brush.prototype;
|
||||
/** @type {Array} */
|
||||
Libraries.SyntaxHighlighter.Brush.aliases;
|
||||
/** @type {Array} */
|
||||
Libraries.SyntaxHighlighter.Brush.regexList;
|
||||
/** @type {Function} */
|
||||
Libraries.SyntaxHighlighter.Brush.forHtmlScript;
|
||||
/** @type {Function} */
|
||||
Libraries.SyntaxHighlighter.Brush.getKeywords;
|
||||
|
||||
|
||||
|
||||
@@ -1,19 +1,43 @@
|
||||
/** @constructor */
|
||||
/**
|
||||
* Base brush constructor.
|
||||
*
|
||||
* @constructor
|
||||
*/
|
||||
Libraries.SyntaxHighlighterBrush = function() {};
|
||||
|
||||
/** @type {!Array<string>} */
|
||||
Libraries.SyntaxHighlighterBrush.prototype.aliases;
|
||||
|
||||
/** @type {!Array<*>} */
|
||||
Libraries.SyntaxHighlighterBrush.prototype.regexList;
|
||||
|
||||
/** @type {function(...?): *} */
|
||||
Libraries.SyntaxHighlighterBrush.prototype.forHtmlScript;
|
||||
|
||||
/** @type {function(...?): *} */
|
||||
Libraries.SyntaxHighlighterBrush.prototype.getKeywords;
|
||||
|
||||
|
||||
/**
|
||||
* SyntaxHighlighter constructor.
|
||||
*
|
||||
* @constructor
|
||||
*/
|
||||
Libraries.SyntaxHighlighter = function() {};
|
||||
|
||||
/** @type {function(...?): ?} */
|
||||
Libraries.SyntaxHighlighter.prototype.all = function() {};
|
||||
/** @type {function(...?): *} */
|
||||
Libraries.SyntaxHighlighter.prototype.all;
|
||||
|
||||
/** @type {!Object<string, *>} */
|
||||
Libraries.SyntaxHighlighter.prototype.defaults;
|
||||
|
||||
/** @type {function(...?): ?} */
|
||||
Libraries.SyntaxHighlighter.prototype.highlight = function(){};
|
||||
/** @type {function(...?): *} */
|
||||
Libraries.SyntaxHighlighter.prototype.highlight;
|
||||
|
||||
/** @type {!Object<string, *>} */
|
||||
/** @type {function(new:Libraries.SyntaxHighlighterBrush)} */
|
||||
Libraries.SyntaxHighlighter.prototype.Highlighter;
|
||||
|
||||
/** @type {!Object<string, *>} */
|
||||
/** @type {!Object<string, function(new:Libraries.SyntaxHighlighterBrush)>} */
|
||||
Libraries.SyntaxHighlighter.prototype.brushes;
|
||||
|
||||
/** @type {!Object<string, !RegExp>} */
|
||||
|
||||
Reference in New Issue
Block a user