fix(forms): re-enable form provider functions for easier migration (#9972)

This commit is contained in:
Kara
2016-07-11 13:23:38 -07:00
committed by GitHub
parent 4ec2a30942
commit e68252a79b
2 changed files with 25 additions and 1 deletions

View File

@ -102,6 +102,9 @@ export declare class DefaultValueAccessor implements ControlValueAccessor {
writeValue(value: any): void;
}
/** @deprecated */
export declare function disableDeprecatedForms(): any[];
/** @experimental */
export interface Form {
addControl(dir: NgControl): void;
@ -370,6 +373,9 @@ export declare class PatternValidator implements Validator {
};
}
/** @deprecated */
export declare function provideForms(): any[];
/** @experimental */
export declare const REACTIVE_FORM_DIRECTIVES: Type[][];