Fixed flow errors and small refactor
This commit is contained in:
@ -52,6 +52,7 @@ function generate(str, options) {
|
||||
);
|
||||
|
||||
var toc = '';
|
||||
// $FlowIssue invalid flow-typed
|
||||
var tokens = marked.lexer(str);
|
||||
var tocArray = [];
|
||||
|
||||
|
Reference in New Issue
Block a user