diff --git a/types/marked/marked-tests.ts b/types/marked/marked-tests.ts index 4aae014b85..65cd72ee73 100644 --- a/types/marked/marked-tests.ts +++ b/types/marked/marked-tests.ts @@ -60,4 +60,5 @@ console.log(parser.parse(parseTestTokens)); const links = ['http', 'image']; const inlineLexer = new marked.InlineLexer(links); console.log(inlineLexer.output("http://")); -console.log(inlineLexer.rules); +console.log(marked.InlineLexer.output("http://", links)); +console.log(marked.InlineLexer.rules);