UNPKG

@brasil-interface/utils

Version:
7 lines 341 B
export type TransformWorker<T = any> = (value: T) => string; export type ValidationWorker = (value: string) => boolean; export declare class Pipes { static runTransforms(value: any, transforms: TransformWorker[]): string; static runValidations(value: string, rules: ValidationWorker[]): boolean; } //# sourceMappingURL=Pipes.d.ts.map