From f99375956507b14e375887f3cb9730c02605fc41 Mon Sep 17 00:00:00 2001 From: Dan Russell <4387475+dangrussell@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:47:17 -0400 Subject: [PATCH] fix(router-store): use non-const enum to allow isolatedModules tsconfig option (#4554) --- modules/router-store/src/router_store_config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/router-store/src/router_store_config.ts b/modules/router-store/src/router_store_config.ts index af98c9fb41..b893a38bc1 100644 --- a/modules/router-store/src/router_store_config.ts +++ b/modules/router-store/src/router_store_config.ts @@ -29,7 +29,7 @@ export const ROUTER_CONFIG = new InjectionToken( * Minimal = Serializes the router event with MinimalRouterStateSerializer * Full = Serializes the router event with FullRouterStateSerializer */ -export const enum RouterState { +export enum RouterState { Full, Minimal, }