UNPKG

@rero/ng-core

Version:

RERO angular core library.

8 lines (7 loc) 363 B
import { AbstractControl } from '@angular/forms'; import { RecordService } from '../record/record.service'; export declare class UniqueValidator { static createValidator(recordService: RecordService, recordType: string, fieldName: string, excludePid?: string): (control: AbstractControl) => import("rxjs").Observable<{ alreadyTaken: string; }>; }