mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
feat(forms): Add an unused symbol AnyForUntypedForms. (#44467)
This symbol will support the typed forms migration in google3. The docs will be updated once the migration begins. Pertains to #13721. PR Close #44467
This commit is contained in:
@@ -47,4 +47,20 @@ export {AbstractControl, AbstractControlOptions, FormArray, FormControl, FormCon
|
||||
export {NG_ASYNC_VALIDATORS, NG_VALIDATORS, Validators} from './validators';
|
||||
export {VERSION} from './version';
|
||||
|
||||
/**
|
||||
* `AnyForUntypedForms` is an alias for `any` used as part of the typed forms
|
||||
* migration.
|
||||
*
|
||||
* `AnyForUntypedForms` was inserted into your code automatically as part of a migration. To
|
||||
* continue opting out of strong types, simply replace it with `any`. To opt-in to typed forms,
|
||||
* remove
|
||||
* `<AnyForUntypedForms>` from your call site.
|
||||
*
|
||||
* This symbol is currently unused. Please do not use it. These docs will be updated when this
|
||||
* symbol is in use.
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export type AnyForUntypedForms = any;
|
||||
|
||||
export * from './form_providers';
|
||||
|
||||
Reference in New Issue
Block a user