mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
tmhDynamicLocaleService.set should return a promise (#14946)
This commit is contained in:
@@ -15,6 +15,9 @@ class LocaleTestController {
|
||||
|
||||
var newLocale = "mt"
|
||||
tmhDynamicLocaleService.set(newLocale);
|
||||
|
||||
newLocale = "en";
|
||||
tmhDynamicLocaleService.set(newLocale).then((value) => {});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user