mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08: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