Skip to content

Commit ca2adc6

Browse files
committed
fix LANGUAGE_MAP_LOCALE_ID
1 parent 3d09306 commit ca2adc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/ngx-xapi/client/src/lib/language-map/language-map.pipe.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import { formatLanguageMap } from './format-language-map';
1212
/**
1313
* An optional injection token to override the default angular LOCALE_ID used by the language map pipe.
1414
*/
15-
export declare const LANGUAGE_MAP_LOCALE_ID: InjectionToken<string>;
15+
export const LANGUAGE_MAP_LOCALE_ID = new InjectionToken<string>(
16+
'LANGUAGE_MAP_LOCALE_ID'
17+
);
1618

1719
/**
1820
* This pipe transforms the parameter (potentially a language map) into a string.

0 commit comments

Comments
 (0)