Skip to content

Commit dfa0c19

Browse files
feat(index): export domhandler node types
1 parent bf33b36 commit dfa0c19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import domToReact from './lib/dom-to-react';
1515

1616
export { attributesToProps, domToReact, htmlToDOM };
1717
export type HTMLParser2Options = ParserOptions & DomHandlerOptions;
18+
export { Comment, Element, ProcessingInstruction, Text };
1819
export type DOMNode = Comment | Element | ProcessingInstruction | Text;
1920

2021
export interface HTMLReactParserOptions {

0 commit comments

Comments
 (0)