refactor(forms): remove FORM_PROVIDERS, FORM_DIRECTIVES, REACTIVE_FORM_PROVIDERS, REACTIVE_DIRECTIVES
All of these have been replaced by FormsModule and ReactiveFormsModule.
This commit is contained in:

committed by
Victor Berchet

parent
c03e25a7b7
commit
501b83441d
14
tools/public_api_guard/forms/index.d.ts
vendored
14
tools/public_api_guard/forms/index.d.ts
vendored
@ -140,7 +140,7 @@ export declare class DefaultValueAccessor implements ControlValueAccessor {
|
||||
writeValue(value: any): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export interface Form {
|
||||
addControl(dir: NgControl): void;
|
||||
addFormGroup(dir: AbstractFormGroupDirective): void;
|
||||
@ -151,12 +151,6 @@ export interface Form {
|
||||
updateModel(dir: NgControl, value: any): void;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const FORM_DIRECTIVES: Type<any>[][];
|
||||
|
||||
/** @stable */
|
||||
export declare const FORM_PROVIDERS: Type<any>[];
|
||||
|
||||
/** @stable */
|
||||
export declare class FormArray extends AbstractControl {
|
||||
controls: AbstractControl[];
|
||||
@ -437,12 +431,6 @@ export declare class PatternValidator implements Validator {
|
||||
};
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const REACTIVE_FORM_DIRECTIVES: Type<any>[][];
|
||||
|
||||
/** @stable */
|
||||
export declare const REACTIVE_FORM_PROVIDERS: Type<any>[];
|
||||
|
||||
/** @stable */
|
||||
export declare class ReactiveFormsModule {
|
||||
}
|
||||
|
Reference in New Issue
Block a user