Seeking assistance with Angular2 and TypeScript as I transition from A1 to A2. Currently, I am facing a situation that may seem obvious for experienced developers:
Here's the scenario:
- Utilizing Webpack.
AppConfigConst
contains static, app-wide configuration data.AppConfigurationInjectable
utilizesAppConfigConst
to provide an accessible API for configuration data.SelectedLanguageInjectable
is attempting to use a method fromAppConfigConst
, resulting in this error:
ERROR in [default] C:_DEV\XXX\src\app\shared\selected-language\selected-language.injectable.ts:9:46 Property 'getSupportedUiLanguages' does not exist on type 'typeof AppConfigurationInjectable'.