"this.appInits[i]" is not a function
I think this is because you need to return the function in your export function statement:
export function apiConfigProvider(config: ApiConfig) { return () => config.loadConfig();}
I think this is because you need to return the function in your export function statement:
export function apiConfigProvider(config: ApiConfig) { return () => config.loadConfig();}