gatsby-plugin-mdx
Version:
MDX integration for Gatsby
24 lines (23 loc) • 550 B
TypeScript
import type { VFile, VFileData } from "vfile";
import type { Node } from "gatsby";
export interface IMdxNode extends Node {
rawBody?: string;
body?: string;
}
export interface IFileNode extends Node {
sourceInstanceName?: string;
absolutePath?: string;
}
interface IMdxVFileDataMeta {
[key: string]: unknown;
}
interface IMdxVFileData extends VFileData {
meta?: IMdxVFileDataMeta;
}
export interface IMdxVFile extends VFile {
data: IMdxVFileData;
}
export interface IMdxMetadata {
[key: string]: unknown;
}
export {};