gatsby
Version:
Blazing fast modern site generator for React
11 lines (10 loc) • 381 B
TypeScript
import { IPluginRefObject } from "../types";
/**
* Make sure key is unique to plugin options. E.g. there could
* be multiple source-filesystem plugins, with different names
* (docs, blogs).
*
* @param name Name of the plugin
* @param pluginObject Object of the plugin
*/
export declare const createPluginId: (name: string, pluginObject?: IPluginRefObject | null) => string;