dot-plop
Version:
A simple approach to PlopJS with first class TypeScript support and a one-line plopfile
6 lines (5 loc) • 326 B
TypeScript
import { NodePlopAPI, PlopGenerator } from 'plop';
export declare type DotPlopGenerator = PlopGenerator | ((plop: NodePlopAPI) => PlopGenerator);
export declare type HandlebarsHelper = Parameters<NodePlopAPI['setHelper']>[1];
export declare type InquirerPrompt = Parameters<NodePlopAPI['setPrompt']>[1];
export * from 'plop';