@types/angular-translate
Advanced tools
Comparing version 2.16.1 to 2.16.2
// Type definitions for Angular Translate (pascalprecht.translate module) 2.16 | ||
// Project: https://github.com/PascalPrecht/angular-translate | ||
// Definitions by: Michel Salib <https://github.com/michelsalib>, Gabriel Gil <https://github.com/GabrielGil> | ||
// Definitions by: Michel Salib <https://github.com/michelsalib>, | ||
// Gabriel Gil <https://github.com/GabrielGil>, | ||
// Dmitry Gurovich <https://github.com/yrtimiD> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -59,2 +61,17 @@ // TypeScript Version: 2.3 | ||
isPostCompilingEnabled(): boolean; | ||
/** | ||
* @ngdoc function | ||
* @name pascalprecht.translate.$translate#negotiateLocale | ||
* @methodOf pascalprecht.translate.$translate | ||
* | ||
* @description | ||
* Returns a language key based on available languages and language aliases. If a | ||
* language key cannot be resolved, returns undefined. | ||
* | ||
* If no or a falsy key is given, returns undefined. | ||
* | ||
* @param key Language key | ||
* @return Language key or undefined if no language key is found. | ||
*/ | ||
negotiateLocale(key?: string): string | undefined; | ||
preferredLanguage(langKey?: string): string; | ||
@@ -61,0 +78,0 @@ proposedLanguage(): string; |
{ | ||
"name": "@types/angular-translate", | ||
"version": "2.16.1", | ||
"version": "2.16.2", | ||
"description": "TypeScript definitions for Angular Translate (pascalprecht.translate module)", | ||
@@ -16,6 +16,11 @@ "license": "MIT", | ||
"githubUsername": "GabrielGil" | ||
}, | ||
{ | ||
"name": "Dmitry Gurovich", | ||
"url": "https://github.com/yrtimiD", | ||
"githubUsername": "yrtimiD" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -30,4 +35,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "2d21ff35ac5bd29bc46ece5bf46b45e4d4d0cb78b2385528f97bf53bacf51937", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "01718886c4c02cb0f52104ff64f05ca2664db191228577d7e7c2dab266b0a30e", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-translate | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-translate. | ||
Additional Details | ||
* Last updated: Tue, 05 Nov 2019 22:54:30 GMT | ||
* Dependencies: @types/angular | ||
### Additional Details | ||
* Last updated: Tue, 10 Dec 2019 20:18:05 GMT | ||
* Dependencies: [@types/angular](https://npmjs.com/package/@types/angular) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Michel Salib <https://github.com/michelsalib>, and Gabriel Gil <https://github.com/GabrielGil>. | ||
These definitions were written by Michel Salib (https://github.com/michelsalib), Gabriel Gil (https://github.com/GabrielGil), and Dmitry Gurovich (https://github.com/yrtimiD). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10275
131