gatsby-plugin-mdx-v1
Version:
MDX integration for Gatsby (MDX v1)
33 lines (32 loc) • 804 B
TypeScript
export declare const ERROR_CODES: {
MdxCompilation: string;
NonExistentFileNode: string;
InvalidAcornAST: string;
NonDeterminableExportName: string;
AcornCompilation: string;
};
export declare const ERROR_MAP: {
[x: string]: {
text: (context: {
absolutePath: string;
errorMeta: any;
}) => string;
level: string;
type: string;
category: string;
} | {
text: (context: {
resourcePath: string;
}) => string;
level: string;
type: string;
category?: undefined;
} | {
text: (context: {
resourcePath: string;
}) => string;
level: string;
type: string;
category: string;
};
};