Skip to content

Commit c417f83

Browse files
committed
feat: support undefined locale
1 parent a724341 commit c417f83

File tree

1 file changed

+2
-2
lines changed
  • projects/angular-ecmascript-intl/src/lib

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { InjectionToken } from "@angular/core";
1+
import {InjectionToken} from "@angular/core";
22

33
/**
44
* Set the locale(s) for all Intl Pipes. If not specified, the user language specified in the browser will be used. If
55
* specified, it needs to be a string with a BCP 47 language tag, or an array of such strings.
66
*/
7-
export const INTL_LOCALES = new InjectionToken<string | string[]>('IntlLocales');
7+
export const INTL_LOCALES = new InjectionToken<string | string[] | undefined>('IntlLocales');

0 commit comments

Comments
 (0)