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:
Igor Minar
2016-08-23 21:36:34 -07:00
committed by Victor Berchet
parent c03e25a7b7
commit 501b83441d
5 changed files with 5 additions and 33 deletions

View File

@ -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 {
}