UNPKG

@captive/plop-config

Version:
10 lines (7 loc) 214 B
import type {} from 'plop'; export interface PlopValidator<T> { (input: any, answers?: T): boolean | string; } export interface PlopAsyncValidator<T> { (input: any, answers?: T): Promise<boolean | string>; }