I need some help. I'm playing with basics of Angular2 and TypeScript as a part of my switch from A1 to A2 so something here might be obvious for you.
I have a this situation:
- Webpack in use.
AppConfigConstholds some static, app wide configuration data.AppConfigurationInjectabletakesAppConfigConstand exposes simple API to access configuration data.SelectedLanguageInjectablewant's to use method fromAppConfigConstand here I get this:
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'.

private appConfiguration **=** AppConfigurationInjectable.=should be:, since=defines default value for the parameter, not its type.selectedLangis set as a string... shouldn't it be an array?