Skip to content

Commit e7b1d43

Browse files
petebacondarwinmhevery
authored andcommitted
refactor(compiler): use ɵɵInjectorDeclaration rather than ɵɵInjectorDef in compiled output (angular#41119)
The `ɵɵInjectorDef` interface is internal and should not be published publicly as part of libraries. This commit updates the compiler to render an opaque type, `ɵɵInjectorDeclaration`, for this instead, which appears in the typings for compiled libraries. PR Close angular#41119
1 parent 4dc27a7 commit e7b1d43

File tree

52 files changed

+270
-262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+270
-262
lines changed

integration/ngcc/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ assertSucceeded "Expected 'ngcc' to log 'Compiling'."
9797
grep "import [*] as ɵngcc0 from './src/r3_symbols';" node_modules/@angular/core/core.d.ts
9898
assertSucceeded "Expected 'ngcc' to add an import for 'src/r3_symbols' in '@angular/core' typings."
9999

100-
grep "static ɵinj: ɵngcc0.ɵɵInjectorDef<ApplicationModule>;" node_modules/@angular/core/core.d.ts
100+
grep "static ɵinj: ɵngcc0.ɵɵInjectorDeclaration<ApplicationModule>;" node_modules/@angular/core/core.d.ts
101101
assertSucceeded "Expected 'ngcc' to add a definition for 'ApplicationModule.ɵinj' in '@angular/core' typings."
102102

103103

packages/compiler-cli/src/ngtsc/imports/src/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const CORE_SUPPORTED_SYMBOLS = new Map<string, string>([
6262
['ɵɵFactoryDeclaration', 'ɵɵFactoryDeclaration'],
6363
['ɵsetClassMetadata', 'setClassMetadata'],
6464
['ɵɵInjectableDef', 'ɵɵInjectableDef'],
65-
['ɵɵInjectorDef', 'ɵɵInjectorDef'],
65+
['ɵɵInjectorDeclaration', 'ɵɵInjectorDeclaration'],
6666
['ɵɵNgModuleDeclaration', 'ɵɵNgModuleDeclaration'],
6767
['ɵNgModuleFactory', 'NgModuleFactory'],
6868
['ɵnoSideEffects', 'ɵnoSideEffects'],

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/GOLDEN_PARTIAL.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export declare class HostBindingComp {
4747
export declare class MyModule {
4848
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
4949
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof HostBindingComp, typeof MyForwardDirective], never, never>;
50-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
50+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
5151
}
5252

5353
/****************************************************************************************************
@@ -99,7 +99,7 @@ export declare class HostBindingComp {
9999
export declare class MyModule {
100100
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
101101
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof HostBindingComp, typeof MyForwardPipe], never, never>;
102-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
102+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
103103
}
104104

105105
/****************************************************************************************************
@@ -136,7 +136,7 @@ export declare class SomeDirective {
136136
export declare class MyModule {
137137
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
138138
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof SomeDirective], never, never>;
139-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
139+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
140140
}
141141

142142
/****************************************************************************************************
@@ -213,7 +213,7 @@ export declare class MyApp {
213213
export declare class MyMod {
214214
static ɵfac: i0.ɵɵFactoryDeclaration<MyMod, never>;
215215
static ɵmod: i0.ɵɵNgModuleDeclaration<MyMod, [typeof SomeComp, typeof MyApp], never, never>;
216-
static ɵinj: i0.ɵɵInjectorDef<MyMod>;
216+
static ɵinj: i0.ɵɵInjectorDeclaration<MyMod>;
217217
}
218218

219219
/****************************************************************************************************
@@ -268,7 +268,7 @@ export declare class MyApp {
268268
export declare class MyMod {
269269
static ɵfac: i0.ɵɵFactoryDeclaration<MyMod, never>;
270270
static ɵmod: i0.ɵɵNgModuleDeclaration<MyMod, [typeof MyApp, typeof SomeComp], never, never>;
271-
static ɵinj: i0.ɵɵInjectorDef<MyMod>;
271+
static ɵinj: i0.ɵɵInjectorDeclaration<MyMod>;
272272
}
273273

274274
/****************************************************************************************************
@@ -313,7 +313,7 @@ export declare class MyApp {
313313
export declare class MyModule {
314314
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
315315
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyApp], never, never>;
316-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
316+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
317317
}
318318

319319
/****************************************************************************************************
@@ -358,7 +358,7 @@ export declare class MyApp {
358358
export declare class MyModule {
359359
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
360360
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyApp], never, never>;
361-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
361+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
362362
}
363363

364364
/****************************************************************************************************
@@ -407,7 +407,7 @@ export declare class MyApp {
407407
export declare class MyModule {
408408
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
409409
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyApp], never, never>;
410-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
410+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
411411
}
412412

413413
/****************************************************************************************************
@@ -490,6 +490,6 @@ export declare class MyComponent {
490490
export declare class MyModule {
491491
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
492492
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
493-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
493+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
494494
}
495495

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/content_projection/GOLDEN_PARTIAL.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export declare class MyApp {
6363
export declare class MyModule {
6464
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
6565
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof SimpleComponent, typeof ComplexComponent, typeof MyApp], never, never>;
66-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
66+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
6767
}
6868

6969
/****************************************************************************************************
@@ -254,7 +254,7 @@ export declare class MyApp {
254254
export declare class MyModule {
255255
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
256256
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyApp, typeof SimpleComponent], never, never>;
257-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
257+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
258258
}
259259

260260
/****************************************************************************************************
@@ -303,7 +303,7 @@ export declare class MyApp {
303303
export declare class MyModule {
304304
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
305305
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof SimpleComponent, typeof MyApp], never, never>;
306-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
306+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
307307
}
308308

309309
/****************************************************************************************************

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/lifecycle_hooks/GOLDEN_PARTIAL.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export declare class MyComponent {
3232
export declare class MyModule {
3333
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
3434
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
35-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
35+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
3636
}
3737

3838
/****************************************************************************************************
@@ -105,7 +105,7 @@ export declare class MyComponent {
105105
export declare class MyModule {
106106
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
107107
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof IfDirective, typeof MyComponent], never, never>;
108-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
108+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
109109
}
110110

111111
/****************************************************************************************************
@@ -157,7 +157,7 @@ export declare class MyComponent {
157157
export declare class MyModule {
158158
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
159159
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
160-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
160+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
161161
}
162162

163163
/****************************************************************************************************
@@ -258,6 +258,6 @@ export declare class SimpleLayout {
258258
export declare class LifecycleModule {
259259
static ɵfac: i0.ɵɵFactoryDeclaration<LifecycleModule, never>;
260260
static ɵmod: i0.ɵɵNgModuleDeclaration<LifecycleModule, [typeof LifecycleComp, typeof SimpleLayout], never, never>;
261-
static ɵinj: i0.ɵɵInjectorDef<LifecycleModule>;
261+
static ɵinj: i0.ɵɵInjectorDeclaration<LifecycleModule>;
262262
}
263263

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/pipes/GOLDEN_PARTIAL.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export declare class MyApp {
7979
export declare class MyModule {
8080
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
8181
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyPipe, typeof MyPurePipe, typeof MyApp], never, never>;
82-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
82+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
8383
}
8484

8585
/****************************************************************************************************
@@ -142,7 +142,7 @@ export declare class MyApp {
142142
export declare class MyModule {
143143
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
144144
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyPipe, typeof MyApp], never, never>;
145-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
145+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
146146
}
147147

148148
/****************************************************************************************************
@@ -222,6 +222,6 @@ export declare class MyApp {
222222
export declare class MyModule {
223223
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
224224
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyPipe, typeof MyOtherPipe, typeof MyApp], never, never>;
225-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
225+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
226226
}
227227

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/queries/GOLDEN_PARTIAL.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export declare class ViewQueryComponent {
7676
export declare class MyModule {
7777
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
7878
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof i1.SomeDirective, typeof ViewQueryComponent], never, never>;
79-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
79+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
8080
}
8181

8282
/****************************************************************************************************
@@ -131,7 +131,7 @@ export declare class ViewQueryComponent {
131131
export declare class MyModule {
132132
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
133133
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ViewQueryComponent], never, never>;
134-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
134+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
135135
}
136136

137137
/****************************************************************************************************
@@ -212,7 +212,7 @@ export declare class ViewQueryComponent {
212212
export declare class MyModule {
213213
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
214214
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof i1.SomeDirective, typeof ViewQueryComponent], never, never>;
215-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
215+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
216216
}
217217

218218
/****************************************************************************************************
@@ -303,7 +303,7 @@ export declare class ViewQueryComponent {
303303
export declare class MyModule {
304304
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
305305
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ViewQueryComponent], never, never>;
306-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
306+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
307307
}
308308

309309
/****************************************************************************************************
@@ -407,7 +407,7 @@ export declare class MyApp {
407407
export declare class MyModule {
408408
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
409409
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof i1.SomeDirective, typeof ContentQueryComponent, typeof MyApp], never, never>;
410-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
410+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
411411
}
412412

413413
/****************************************************************************************************
@@ -462,7 +462,7 @@ export declare class ContentQueryComponent {
462462
export declare class MyModule {
463463
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
464464
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ContentQueryComponent], never, never>;
465-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
465+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
466466
}
467467

468468
/****************************************************************************************************
@@ -566,7 +566,7 @@ export declare class MyApp {
566566
export declare class MyModule {
567567
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
568568
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof i1.SomeDirective, typeof ContentQueryComponent, typeof MyApp], never, never>;
569-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
569+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
570570
}
571571

572572
/****************************************************************************************************
@@ -657,7 +657,7 @@ export declare class ContentQueryComponent {
657657
export declare class MyModule {
658658
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
659659
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ContentQueryComponent], never, never>;
660-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
660+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
661661
}
662662

663663
/****************************************************************************************************
@@ -746,6 +746,6 @@ export declare class ContentQueryComponent {
746746
export declare class MyModule {
747747
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
748748
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ContentQueryComponent], never, never>;
749-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
749+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
750750
}
751751

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/template_variables/GOLDEN_PARTIAL.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export declare class MyComponent {
8686
export declare class MyModule {
8787
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
8888
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent, typeof i1.ForOfDirective], never, never>;
89-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
89+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
9090
}
9191

9292
/****************************************************************************************************
@@ -177,7 +177,7 @@ export declare class MyComponent {
177177
export declare class MyModule {
178178
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
179179
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent, typeof i1.ForOfDirective], never, never>;
180-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
180+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
181181
}
182182

183183
/****************************************************************************************************
@@ -294,7 +294,7 @@ export declare class MyComponent {
294294
export declare class MyModule {
295295
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
296296
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent, typeof i1.ForOfDirective], never, never>;
297-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
297+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
298298
}
299299

300300
/****************************************************************************************************

packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/value_composition/GOLDEN_PARTIAL.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export declare class MyComponent {
5656
export declare class MyModule {
5757
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
5858
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ChildComponent, typeof SomeDirective, typeof MyComponent], never, never>;
59-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
59+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
6060
}
6161

6262
/****************************************************************************************************
@@ -105,7 +105,7 @@ export declare class OtherDirective {
105105
export declare class MyModule {
106106
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
107107
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof SomeDirective, typeof OtherDirective], never, never>;
108-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
108+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
109109
}
110110

111111
/****************************************************************************************************
@@ -142,7 +142,7 @@ export declare class SomeComponent {
142142
export declare class MyModule {
143143
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
144144
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof SomeComponent], never, never>;
145-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
145+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
146146
}
147147

148148
/****************************************************************************************************
@@ -191,7 +191,7 @@ export declare class EmptyOutletComponent {
191191
export declare class MyModule {
192192
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
193193
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof EmptyOutletComponent, typeof RouterOutlet], never, never>;
194-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
194+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
195195
}
196196

197197
/****************************************************************************************************
@@ -238,7 +238,7 @@ export declare class MyComponent {
238238
export declare class MyModule {
239239
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
240240
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComponent], never, never>;
241-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
241+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
242242
}
243243

244244
/****************************************************************************************************
@@ -294,7 +294,7 @@ export declare class MyComponent {
294294
export declare class MyModule {
295295
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
296296
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof IfDirective, typeof MyComponent], never, never>;
297-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
297+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
298298
}
299299

300300
/****************************************************************************************************
@@ -366,7 +366,7 @@ export declare class MyApp {
366366
export declare class MyModule {
367367
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
368368
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComp, typeof MyApp], never, never>;
369-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
369+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
370370
}
371371

372372
/****************************************************************************************************
@@ -474,7 +474,7 @@ export declare class MyApp {
474474
export declare class MyModule {
475475
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
476476
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof MyComp, typeof MyApp], never, never>;
477-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
477+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
478478
}
479479

480480
/****************************************************************************************************
@@ -548,7 +548,7 @@ export declare class MyApp {
548548
export declare class MyModule {
549549
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
550550
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof ObjectComp, typeof MyApp], never, never>;
551-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
551+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
552552
}
553553

554554
/****************************************************************************************************
@@ -628,6 +628,6 @@ export declare class MyApp {
628628
export declare class MyModule {
629629
static ɵfac: i0.ɵɵFactoryDeclaration<MyModule, never>;
630630
static ɵmod: i0.ɵɵNgModuleDeclaration<MyModule, [typeof NestedComp, typeof MyApp], never, never>;
631-
static ɵinj: i0.ɵɵInjectorDef<MyModule>;
631+
static ɵinj: i0.ɵɵInjectorDeclaration<MyModule>;
632632
}
633633

0 commit comments

Comments
 (0)