diff --git a/projects/ngx-xapi/client/src/lib/language-map/language-map.pipe.ts b/projects/ngx-xapi/client/src/lib/language-map/language-map.pipe.ts index cd97718..48fc214 100644 --- a/projects/ngx-xapi/client/src/lib/language-map/language-map.pipe.ts +++ b/projects/ngx-xapi/client/src/lib/language-map/language-map.pipe.ts @@ -12,7 +12,9 @@ import { formatLanguageMap } from './format-language-map'; /** * An optional injection token to override the default angular LOCALE_ID used by the language map pipe. */ -export declare const LANGUAGE_MAP_LOCALE_ID: InjectionToken; +export const LANGUAGE_MAP_LOCALE_ID = new InjectionToken( + 'LANGUAGE_MAP_LOCALE_ID' +); /** * This pipe transforms the parameter (potentially a language map) into a string.