Error TS6133: 'injector' is declared but its value is never read.
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

Peter Bastiani 2024-04-15 11:46:52 +02:00
parent 83739ee4e9
commit 25b180df49
1 changed files with 1 additions and 1 deletions

View File

@ -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<any> {
export function appConfigFactory(_injector:Injector, appConfig: AppConfig, oauthService: OAuthService, authconfigFactory:IAuthconfigFactory,authStorage:OAuthStorage,itemtypeService:ItemTypeService): () => Promise<any> {
return (): Promise<any> => {
return new Promise<void>((resolve,reject) => {
appConfig.load().then(() => {