gatsby-plugin-utils
Version:
Gatsby utils that help creating plugins
9 lines (8 loc) • 406 B
TypeScript
import { GatsbyNode } from "gatsby";
import { IPluginInfoOptions } from "./types";
interface ITestPluginOptionsSchemaReturnType {
errors: Array<string>;
isValid: boolean;
}
export declare function testPluginOptionsSchema(pluginSchemaFunction: Exclude<GatsbyNode["pluginOptionsSchema"], undefined>, pluginOptions: IPluginInfoOptions): Promise<ITestPluginOptionsSchemaReturnType>;
export {};