Skip to content

Commit eb63940

Browse files
committed
perf: export default declare
1 parent 662f8d9 commit eb63940

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types/index.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import {ParserOptions} from 'htmlparser2';
22

3+
declare const parser: (html: string, options?: Options) => Node[];
4+
5+
export default parser;
6+
37
export type Directive = {
48
name: string | RegExp;
59
start: string;

0 commit comments

Comments
 (0)