fix(forms): remove deprecated form provider functions (#10741)
BREAKING CHANGE: The deprecated `provideForms()` and `disableDeprecatedForms()` functions have been removed. Please import the `FormsModule` or the `ReactiveFormsModule` from @angular/forms instead.
This commit is contained in:
6
tools/public_api_guard/forms/index.d.ts
vendored
6
tools/public_api_guard/forms/index.d.ts
vendored
@ -125,9 +125,6 @@ export declare class DefaultValueAccessor implements ControlValueAccessor {
|
||||
writeValue(value: any): void;
|
||||
}
|
||||
|
||||
/** @deprecated */
|
||||
export declare function disableDeprecatedForms(): any[];
|
||||
|
||||
/** @experimental */
|
||||
export interface Form {
|
||||
addControl(dir: NgControl): void;
|
||||
@ -423,9 +420,6 @@ export declare class PatternValidator implements Validator {
|
||||
};
|
||||
}
|
||||
|
||||
/** @deprecated */
|
||||
export declare function provideForms(): any[];
|
||||
|
||||
/** @experimental */
|
||||
export declare const REACTIVE_FORM_DIRECTIVES: Type<any>[][];
|
||||
|
||||
|
Reference in New Issue
Block a user