fix(ivy): add `nocollapse` to ngInjectableDef for closure compatibility (#26975)
PR Close #26975
This commit is contained in:
parent
931a363612
commit
5e769d9a25
|
@ -139,6 +139,7 @@ export interface IterableDifferFactory {
|
|||
* @publicApi
|
||||
*/
|
||||
export class IterableDiffers {
|
||||
/** @nocollapse */
|
||||
static ngInjectableDef = defineInjectable({
|
||||
providedIn: 'root',
|
||||
factory: () => new IterableDiffers([new DefaultIterableDifferFactory()])
|
||||
|
|
|
@ -103,6 +103,7 @@ export abstract class Injector {
|
|||
}
|
||||
}
|
||||
|
||||
/** @nocollapse */
|
||||
static ngInjectableDef = defineInjectable({
|
||||
providedIn: 'any' as any,
|
||||
factory: () => inject(INJECTOR),
|
||||
|
|
Loading…
Reference in New Issue