@captive/plop-config
Version:
20 lines (19 loc) • 502 B
TypeScript
export interface PiniaModuleGeneratorOptions {
storePath: string;
}
export declare const piniaModuleGenerator: (options: PiniaModuleGeneratorOptions) => {
name: string;
generator: {
prompts: {
name: string;
type: "input";
message: string;
validate: (promptValue: string) => boolean | string;
}[];
actions: () => {
path: string;
template: string;
type: "add";
}[];
};
};