mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
* Refactor restricted imports eslint rule, add angular deps * Move FormValidationErrorsService into libs/angular * Remove angular decorators from configService * Remove angular decorator from anonymousHubService
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
import { AbstractControl } from "@angular/forms";
|
|
export interface AllValidationErrors {
|
|
controlName: string;
|
|
errorName: string;
|
|
}
|
|
|
|
export interface FormGroupControls {
|
|
[key: string]: AbstractControl;
|
|
}
|
|
|
|
export abstract class FormValidationErrorsService {
|
|
getFormValidationErrors: (controls: FormGroupControls) => AllValidationErrors[];
|
|
}
|