Browse Source

fix core lint error

pull/16379/head
Barış Can Yılmaz 3 years ago
parent
commit
2f217d1eac
  1. 12
      npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

12
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<void>();
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<void>();
constructor(
private abpConfigService: AbpApplicationConfigurationService,
private abpApplicationLocalizationService: AbpApplicationLocalizationService,
@ -228,4 +226,4 @@ function splitKeys(keys: string[] | string): string[] {
}
return keys;
}
}

Loading…
Cancel
Save