test(forms): add test for multi-select and custom accessors (#9624)
This commit is contained in:
11
tools/public_api_guard/forms/index.d.ts
vendored
11
tools/public_api_guard/forms/index.d.ts
vendored
@ -376,6 +376,17 @@ export declare class SelectControlValueAccessor implements ControlValueAccessor
|
||||
writeValue(value: any): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class SelectMultipleControlValueAccessor implements ControlValueAccessor {
|
||||
onChange: (_: any) => void;
|
||||
onTouched: () => void;
|
||||
value: any;
|
||||
constructor();
|
||||
registerOnChange(fn: (value: any) => any): void;
|
||||
registerOnTouched(fn: () => any): void;
|
||||
writeValue(value: any): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export interface Validator {
|
||||
validate(c: AbstractControl): {
|
||||
|
Reference in New Issue
Block a user