Skip to content

Commit 64d7e33

Browse files
committed
refactor(localization): Make locale property required for registering.
1 parent 042c512 commit 64d7e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/core/i18n/resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ export function changei18n(resourceStrings: IResourceStrings) {
103103
* Set the current locale of all Ignite UI components.
104104
* @param locale The name of the locale. A string based on the BCP 47 language tag, that Intl supports.
105105
*/
106-
export function registerI18n(resourceStrings: IResourceStrings, locale?: string) {
106+
export function registerI18n(resourceStrings: IResourceStrings, locale: string) {
107107
igxRegisterI18n(resourceStrings, locale);
108108
}

0 commit comments

Comments
 (0)