Skip to content

Commit 5e0d718

Browse files
committed
Fix issues in type definitions
1 parent da520c3 commit 5e0d718

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { RemarkMermaidOptions } from 'remark-mermaidjs'
1+
import type { RemarkMermaidOptions } from 'remark-mermaidjs' with { 'resolution-mode': 'import' }
22

33
declare namespace gatsbyRemarkMermaid {
4-
type Options = RemarkMermaidOptions
4+
export { RemarkMermaidOptions as Options }
55
}
66

77
declare function gatsbyRemarkMermaid(
88
gatsbyRemarkOptions: unknown,
9-
options: RemarkMermaidOptions
10-
): Promise<void>
9+
options: gatsbyRemarkMermaid.Options
10+
): Promise<undefined>
1111

1212
export = gatsbyRemarkMermaid

0 commit comments

Comments
 (0)