From 2f217d1eacc73e4290d2d30481b15e65d0973cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Can=20Y=C4=B1lmaz?= Date: Wed, 26 Apr 2023 14:02:06 +0300 Subject: [PATCH] fix core lint error --- .../core/src/lib/services/config-state.service.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts b/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts index e0ff482fc6..103aad6da2 100644 --- a/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts +++ b/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts @@ -14,18 +14,16 @@ import { InternalStore } from '../utils/internal-store-utils'; providedIn: 'root', }) export class ConfigStateService { + private updateSubject = new Subject(); private readonly store = new InternalStore({} as ApplicationConfigurationDto); - - setState(config: ApplicationConfigurationDto){ - this.store.set(config) + + setState(config: ApplicationConfigurationDto) { + this.store.set(config); } get createOnUpdateStream() { return this.store.sliceUpdate; } - - private updateSubject = new Subject(); - constructor( private abpConfigService: AbpApplicationConfigurationService, private abpApplicationLocalizationService: AbpApplicationLocalizationService, @@ -228,4 +226,4 @@ function splitKeys(keys: string[] | string): string[] { } return keys; -} \ No newline at end of file +}