From 610270f8108d9618f429a96845eb32721982eda0 Mon Sep 17 00:00:00 2001 From: Alfonso Salces Date: Mon, 8 Jul 2024 09:45:04 +0200 Subject: [PATCH] MOBILE-4612 compile.ts: Expose signals and computed to plugins --- src/core/features/compile/services/compile.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/features/compile/services/compile.ts b/src/core/features/compile/services/compile.ts index 2d084e4ab..8597530d2 100644 --- a/src/core/features/compile/services/compile.ts +++ b/src/core/features/compile/services/compile.ts @@ -23,6 +23,8 @@ import { Provider, createNgModule, ViewContainerRef, + signal, + computed, } from '@angular/core'; import { ActionSheetController, @@ -287,6 +289,8 @@ export class CoreCompileProvider { instance['CoreConfigConstants'] = CoreConstants.CONFIG; instance['CoreEventsProvider'] = CoreEvents; instance['CoreLoggerProvider'] = CoreLogger; + instance['signal'] = signal; + instance['computed'] = computed; instance['moment'] = moment; instance['Md5'] = Md5; instance['Network'] = CoreNetwork.instance; // @deprecated since 4.1, plugins should use CoreNetwork instead.