Skip to content

Commit 1ecbe38

Browse files
committed
export options interface + new build
1 parent 2aff8b1 commit 1ecbe38

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dist/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
import type { Plugin } from 'unified';
2+
import { Options } from 'mdast-util-toc';
3+
export interface IRemarkTableOfContentsOptions extends Options {
4+
mdx?: boolean;
5+
}
26
declare const remarkTableOfContents: Plugin;
37
export { remarkTableOfContents };

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Plugin, Transformer } from 'unified'
22
import type { Root } from 'mdast'
33
import { toc, Options } from 'mdast-util-toc'
44

5-
interface IRemarkTableOfContentsOptions extends Options {
5+
export interface IRemarkTableOfContentsOptions extends Options {
66
mdx?: boolean
77
}
88

0 commit comments

Comments
 (0)