diff --git a/src/environments/.env.ts b/src/environments/.env.ts index 284f3d0f9e..15da27511c 100644 --- a/src/environments/.env.ts +++ b/src/environments/.env.ts @@ -2,8 +2,8 @@ /* tslint:disable */ export default { 'mifos_x': { - 'version': '250403', - 'hash': '66449454' + 'version': '250407', + 'hash': 'a2d98f90' }, 'allow_switching_backend_instance': true }; diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index d05b3fc95f..17bb18c5a1 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -2,6 +2,7 @@ import env from './.env'; // The `window['env']` object is loaded in the `index.html` file +// @ts-ignore const loadedEnv = window['env'] || {}; export const environment = { @@ -53,10 +54,13 @@ export const environment = { idleTimeout: loadedEnv['sessionIdleTimeout'] || 300000 // 5 minutes } }, - + // @ts-ignore vNextApiUrl: window['env']['vNextApiUrl'] || 'https://apis.mifos.community', + // @ts-ignore vNextApiProvider: window['env']['vNextApiProvider'] || '/vnext1', + // @ts-ignore vNextApiVersion: window['env']['vNextApiVersion'] || '/v1.0', + // @ts-ignore interbankTransfers: window['env']['interbankTransfers'] || false, minPasswordLength: loadedEnv['minPasswordLength'] || 12 diff --git a/tsconfig.json b/tsconfig.json index 51d255fbc1..fa2f67e4bb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,6 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, - "suppressImplicitAnyIndexErrors": true, "target": "es2020", "typeRoots": [ "node_modules/@types",