build: enable bundle_dts for forms package (#28854)
This PR also changes the name of NgNoValidate` to `ɵNgNoValidate`. This is because `ngcc` requires the node to retain the original name while dts bundler will rename the node is it's only exported using the aliases. Example typings files: ```ts declare class NgNoValidate{ } export {NgNoValidateas ɵNgNoValidate} ``` will be emitted as ```ts export declare class ɵNgNoValidate { } ``` PR Close #28854
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export {InternalFormsSharedModule as ɵInternalFormsSharedModule} from './directives';
|
||||
export {ɵInternalFormsSharedModule} from './directives';
|
||||
export {AbstractControlDirective} from './directives/abstract_control_directive';
|
||||
export {AbstractFormGroupDirective} from './directives/abstract_form_group_directive';
|
||||
export {CheckboxControlValueAccessor} from './directives/checkbox_value_accessor';
|
||||
@ -32,7 +32,7 @@ export {NgForm} from './directives/ng_form';
|
||||
export {NgFormSelectorWarning} from './directives/ng_form_selector_warning';
|
||||
export {NgModel} from './directives/ng_model';
|
||||
export {NgModelGroup} from './directives/ng_model_group';
|
||||
export {NgNoValidate as ɵNgNoValidate} from './directives/ng_no_validate_directive';
|
||||
export {ɵNgNoValidate} from './directives/ng_no_validate_directive';
|
||||
export {NumberValueAccessor} from './directives/number_value_accessor';
|
||||
export {RadioControlValueAccessor} from './directives/radio_control_value_accessor';
|
||||
export {RangeValueAccessor} from './directives/range_value_accessor';
|
||||
@ -43,7 +43,7 @@ export {FormArrayName} from './directives/reactive_directives/form_group_name';
|
||||
export {FormGroupName} from './directives/reactive_directives/form_group_name';
|
||||
export {NgSelectOption, SelectControlValueAccessor} from './directives/select_control_value_accessor';
|
||||
export {SelectMultipleControlValueAccessor} from './directives/select_multiple_control_value_accessor';
|
||||
export {NgSelectMultipleOption as ɵNgSelectMultipleOption} from './directives/select_multiple_control_value_accessor';
|
||||
export {ɵNgSelectMultipleOption} from './directives/select_multiple_control_value_accessor';
|
||||
export {AsyncValidator, AsyncValidatorFn, CheckboxRequiredValidator, EmailValidator, MaxLengthValidator, MinLengthValidator, PatternValidator, RequiredValidator, ValidationErrors, Validator, ValidatorFn} from './directives/validators';
|
||||
export {FormBuilder} from './form_builder';
|
||||
export {AbstractControl, AbstractControlOptions, FormArray, FormControl, FormGroup} from './model';
|
||||
|
Reference in New Issue
Block a user