mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Fix Test
This commit is contained in:
@@ -24,6 +24,6 @@ interface Scope extends ng.IScope {
|
||||
|
||||
app.controller('Ctrl', ($scope: Scope, $translate: ng.translate.ITranslateService) => {
|
||||
$scope['changeLanguage'] = function (key: any) {
|
||||
$translate.uses(key);
|
||||
$translate.use(key);
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user