From 25b180df4946533901377f41299ee7bb57d7d306 Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Mon, 15 Apr 2024 11:46:52 +0200 Subject: [PATCH] Error TS6133: 'injector' is declared but its value is never read. --- projects/common/src/fm/shared/app.config.factory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common/src/fm/shared/app.config.factory.ts b/projects/common/src/fm/shared/app.config.factory.ts index e442b3d..cf6ff17 100644 --- a/projects/common/src/fm/shared/app.config.factory.ts +++ b/projects/common/src/fm/shared/app.config.factory.ts @@ -4,7 +4,7 @@ import { AppConfig } from "./app.config"; import { IAuthconfigFactory } from './authconfigFactory'; import { Injector } from '@angular/core'; -export function appConfigFactory(injector:Injector, appConfig: AppConfig, oauthService: OAuthService, authconfigFactory:IAuthconfigFactory,authStorage:OAuthStorage,itemtypeService:ItemTypeService): () => Promise { +export function appConfigFactory(_injector:Injector, appConfig: AppConfig, oauthService: OAuthService, authconfigFactory:IAuthconfigFactory,authStorage:OAuthStorage,itemtypeService:ItemTypeService): () => Promise { return (): Promise => { return new Promise((resolve,reject) => { appConfig.load().then(() => {