svogv
Version:
A decorator based approach for model driven forms, including an advanced DataGrid and a TreeView component.
14 lines (13 loc) • 369 B
TypeScript
import { FormControl } from '@angular/forms';
/**
* A custom validator to compare two fields. This is internally to support the infrastructure
* and not intended to being used by custom code.
*
* @param p The field's name
*
*/
export declare function validateCompare(p: string): (c: FormControl) => {
compare: {
valid: boolean;
};
};