Upgraded custom-webpack and typescript.
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
2021-06-16 09:15:53 +02:00
parent 22209cfaf6
commit 8d3c098f4e
9 changed files with 111 additions and 2078 deletions

View File

@@ -65,7 +65,7 @@ export class ItemTypeService {
})
.catch(error => this.itemTypes = null);
} else {
return new Promise((resolve) => {resolve()});
return new Promise<void>((resolve) => {resolve()});
}
};
}

View File

@@ -10,7 +10,7 @@ import { IAuthconfigFactory } from './authconfigFactory';
export function appConfigFactory(injector:Injector, appConfig: AppConfig, oauthService: OAuthService, authconfigFactory:IAuthconfigFactory,authStorage:OAuthStorage,itemtypeService:ItemTypeService): () => Promise<any> {
return (): Promise<any> => {
return new Promise((resolve,reject) => {
return new Promise<void>((resolve,reject) => {
appConfig.load().then(() => {
oauthService.configure(authconfigFactory.getAuthConfig(appConfig));
oauthService.setStorage(authStorage);