diff --git a/src/block.ts b/src/block.ts index 3acbd67..dd3084a 100644 --- a/src/block.ts +++ b/src/block.ts @@ -1119,4 +1119,4 @@ const parseEvents = function(input : string, options : Options = {}) { return new EventParser(input, options); } -export { parseEvents } +export { parseEvents, type Event } diff --git a/src/index.ts b/src/index.ts index f448342..faadb8a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ export { parse, renderAST } from "./parse"; -export { parseEvents } from "./block"; +export { parseEvents, type Event } from "./block"; export { renderHTML, HTMLRenderer } from "./html"; export { applyFilter } from "./filter"; export { fromPandoc, toPandoc } from "./pandoc";