From f15fab2c4dbbe37d6ed1c7ee442f530d93491634 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Thu, 23 Dec 2021 06:35:43 -0700 Subject: [PATCH] fix(material/core): move pseudo-checkbox module to same directory --- src/material/core/selection/index.ts | 12 +----------- .../pseudo-checkbox/pseudo-checkbox-module.ts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 src/material/core/selection/pseudo-checkbox/pseudo-checkbox-module.ts diff --git a/src/material/core/selection/index.ts b/src/material/core/selection/index.ts index 31f98de88d59..102eaefd2bab 100644 --- a/src/material/core/selection/index.ts +++ b/src/material/core/selection/index.ts @@ -6,15 +6,5 @@ * found in the LICENSE file at https://angular.io/license */ -import {NgModule} from '@angular/core'; -import {MatPseudoCheckbox} from './pseudo-checkbox/pseudo-checkbox'; -import {MatCommonModule} from '../common-behaviors/common-module'; - -@NgModule({ - imports: [MatCommonModule], - exports: [MatPseudoCheckbox], - declarations: [MatPseudoCheckbox], -}) -export class MatPseudoCheckboxModule {} - export * from './pseudo-checkbox/pseudo-checkbox'; +export * from './pseudo-checkbox/pseudo-checkbox-module'; diff --git a/src/material/core/selection/pseudo-checkbox/pseudo-checkbox-module.ts b/src/material/core/selection/pseudo-checkbox/pseudo-checkbox-module.ts new file mode 100644 index 000000000000..4a35ebc701dc --- /dev/null +++ b/src/material/core/selection/pseudo-checkbox/pseudo-checkbox-module.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgModule} from '@angular/core'; +import {MatPseudoCheckbox} from './pseudo-checkbox'; +import {MatCommonModule} from '../../common-behaviors/common-module'; + +@NgModule({ + imports: [MatCommonModule], + exports: [MatPseudoCheckbox], + declarations: [MatPseudoCheckbox], +}) +export class MatPseudoCheckboxModule {}