Skip to content

Commit

Permalink
Fix injected LANGUAGE_MAP_LOCALE_ID (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
Selindek authored Nov 28, 2023
1 parent 3d09306 commit 2e5e099
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
export const LANGUAGE_MAP_LOCALE_ID = new InjectionToken<string>(
'LANGUAGE_MAP_LOCALE_ID'
);

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

0 comments on commit 2e5e099

Please sign in to comment.