refactor(core): remove dead code (#12871)
This commit is contained in:
parent
efbbefd353
commit
79e2bb9291
|
@ -56,22 +56,12 @@ export const TEMPLATE_DRIVEN_DIRECTIVES: Type<any>[] = [NgModel, NgModelGroup, N
|
||||||
export const REACTIVE_DRIVEN_DIRECTIVES: Type<any>[] =
|
export const REACTIVE_DRIVEN_DIRECTIVES: Type<any>[] =
|
||||||
[FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];
|
[FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];
|
||||||
|
|
||||||
/**
|
|
||||||
* A list of all the form directives.
|
|
||||||
*
|
|
||||||
* @stable
|
|
||||||
*/
|
|
||||||
export const FORM_DIRECTIVES: Type<any>[][] = [TEMPLATE_DRIVEN_DIRECTIVES, SHARED_FORM_DIRECTIVES];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @stable
|
|
||||||
*/
|
|
||||||
export const REACTIVE_FORM_DIRECTIVES: Type<any>[][] =
|
|
||||||
[REACTIVE_DRIVEN_DIRECTIVES, SHARED_FORM_DIRECTIVES];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal module used for sharing directives between FormsModule and ReactiveFormsModule
|
* Internal module used for sharing directives between FormsModule and ReactiveFormsModule
|
||||||
*/
|
*/
|
||||||
@NgModule({declarations: SHARED_FORM_DIRECTIVES, exports: SHARED_FORM_DIRECTIVES})
|
@NgModule({
|
||||||
|
declarations: SHARED_FORM_DIRECTIVES,
|
||||||
|
exports: SHARED_FORM_DIRECTIVES,
|
||||||
|
})
|
||||||
export class InternalFormsSharedModule {
|
export class InternalFormsSharedModule {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue