mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
angular-translate: Add optional fn parameter to onReady (#25477)
* Add optional fn parameter on onReady This callback is executed if provided when the $translate service is ready. * Add Gabriel Gil to angular-translate definitors
This commit is contained in:
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
// Type definitions for Angular Translate (pascalprecht.translate module) 2.15
|
||||
// Project: https://github.com/PascalPrecht/angular-translate
|
||||
// Definitions by: Michel Salib <https://github.com/michelsalib>
|
||||
// Definitions by: Michel Salib <https://github.com/michelsalib>, Gabriel Gil <https://github.com/GabrielGil>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -67,7 +67,7 @@ declare module 'angular' {
|
||||
versionInfo(): string;
|
||||
loaderCache(): any;
|
||||
isReady(): boolean;
|
||||
onReady(): angular.IPromise<void>;
|
||||
onReady(fn?: () => void): angular.IPromise<void>;
|
||||
resolveClientLocale(): string;
|
||||
getAvailableLanguageKeys(): string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user