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:
Kara
2016-08-12 15:32:47 -07:00
committed by vikerman
parent 161a4dd15f
commit 79afcf0766
2 changed files with 2 additions and 24 deletions

View File

@ -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>[][];