@crnk/angular-ngrx
Version:
Angular helper library for ngrx-json-api and crnk:
10 lines (9 loc) • 375 B
TypeScript
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
export declare const RESOURCE_VALIDATOR: any;
/**
* Gets validation messages from the underlying resource.
*/
export declare class ResourceValidatorDirective implements Validator {
validate(c: AbstractControl): ValidationErrors | null;
private computeControlErrorKey(error);
}