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.
1 parent a8c3460 commit 614d584Copy full SHA for 614d584
src/index.d.ts
@@ -1,17 +1,17 @@
1
import type {ElementType} from 'react';
2
-import type {Options, RenderNodes, Schema} from '@markdoc/markdoc';
+import type {Config, RenderableTreeNodes, Schema} from '@markdoc/markdoc';
3
4
export type MarkdocNextJsPageProps = {
5
markdoc?: {
6
- content: RenderNodes;
+ content: RenderableTreeNodes;
7
frontmatter: Record<string, any>;
8
file: {
9
path: string;
10
};
11
12
13
14
-export type MarkdocNextJsConfig = Options & {readonly source: string};
+export type MarkdocNextJsConfig = Config & {readonly source: string};
15
16
export type MarkdocNextJsSchema<O extends Object = {}> = Schema<
17
O & MarkdocNextJsConfig,
0 commit comments