MOBILE-4612 compile.ts: Expose signals and computed to plugins

main
Alfonso Salces 2024-07-08 09:45:04 +02:00
parent 3d53969b9f
commit 610270f810
1 changed files with 4 additions and 0 deletions

View File

@ -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.