gatsby
Version:
Blazing fast modern site generator for React
13 lines (12 loc) • 374 B
TypeScript
import { IGatsbyPage } from "../redux/types";
interface IErrorMeta {
id: string;
context: Record<string, unknown>;
}
export declare function validatePageComponent(page: IGatsbyPage, directory: string, pluginName: string): {
message?: string;
error?: IErrorMeta;
panicOnBuild?: boolean;
};
export declare function clearValidationCache(): void;
export {};