We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
remark-kroki
1 parent 300001c commit 3f6b8f2Copy full SHA for 3f6b8f2
1 file changed
types/remark-kroki.d.ts
@@ -0,0 +1,14 @@
1
+// FIXME: delete this file once `remark-kroki` ships its own type definitions
2
+// (or once `@types/remark-kroki` is published on DefinitelyTyped). Track
3
+// upstream at https://github.com/show-docs/remark-kroki.
4
+declare module "remark-kroki" {
5
+ export interface RemarkKrokiOptions {
6
+ server?: string;
7
+ headers?: Record<string, string>;
8
+ alias?: string[];
9
+ output?: string;
10
+ target?: "html" | "mdx3";
11
+ }
12
+
13
+ export function remarkKroki(options?: RemarkKrokiOptions): (tree: unknown) => Promise<void>;
14
+}
0 commit comments