Skip to content

Commit abce69b

Browse files
authored
chore: clean up unnecessary providers arrays from existing code (#20191)
Passing in `providers: []` isn't necessary so these changes clean up the existing code.
1 parent bb49835 commit abce69b

File tree

11 files changed

+0
-11
lines changed

11 files changed

+0
-11
lines changed

src/material/bottom-sheet/bottom-sheet.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ inside your `NgModule`.
7575
ExampleBottomSheetComponent
7676
],
7777

78-
providers: [],
7978
bootstrap: [AppComponent]
8079
})
8180
export class AppModule {}

src/material/dialog/dialog.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ the `ComponentFactory` for it.
6464
ExampleDialogComponent
6565
],
6666

67-
providers: [],
6867
bootstrap: [AppComponent]
6968
})
7069
export class AppModule {}

test/benchmarks/material/button/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export class ButtonBenchmarkApp {
3838
BrowserModule,
3939
MatButtonModule,
4040
],
41-
providers: [],
4241
bootstrap: [ButtonBenchmarkApp],
4342
})
4443
export class AppModule {}

test/benchmarks/material/card/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export class CardBenchmarkApp {
3737
BrowserModule,
3838
MatCardModule,
3939
],
40-
providers: [],
4140
bootstrap: [CardBenchmarkApp],
4241
})
4342
export class AppModule {}

test/benchmarks/material/checkbox/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export class CheckboxBenchmarkApp {
4646
BrowserModule,
4747
MatCheckboxModule,
4848
],
49-
providers: [],
5049
bootstrap: [CheckboxBenchmarkApp],
5150
})
5251
export class AppModule {}

test/benchmarks/material/chips/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ export class ChipsBenchmarkApp {
5353
BrowserModule,
5454
MatChipsModule,
5555
],
56-
providers: [],
5756
bootstrap: [ChipsBenchmarkApp],
5857
})
5958
export class AppModule {}

test/benchmarks/material/form-field/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export class FormFieldBenchmarkApp {
6868
MatSelectModule,
6969
MatInputModule,
7070
],
71-
providers: [],
7271
bootstrap: [FormFieldBenchmarkApp],
7372
})
7473
export class AppModule {}

test/benchmarks/material/radio/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export class RadioBenchmarkApp {
6060
BrowserModule,
6161
MatRadioModule,
6262
],
63-
providers: [],
6463
bootstrap: [RadioBenchmarkApp],
6564
})
6665
export class AppModule {}

test/benchmarks/material/slide-toggle/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export class SlideToggleBenchmarkApp {
3838
BrowserModule,
3939
MatSlideToggleModule,
4040
],
41-
providers: [],
4241
bootstrap: [SlideToggleBenchmarkApp]
4342
})
4443
export class AppModule {}

test/benchmarks/material/table/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export class TableBenchmarkApp {
7575
BrowserModule,
7676
MatTableModule,
7777
],
78-
providers: [],
7978
bootstrap: [TableBenchmarkApp],
8079
})
8180
export class AppModule {}

test/benchmarks/mdc/card/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export class CardBenchmarkApp {
3737
BrowserModule,
3838
MatCardModule,
3939
],
40-
providers: [],
4140
bootstrap: [CardBenchmarkApp],
4241
})
4342
export class AppModule {}

0 commit comments

Comments
 (0)