Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/angular-translate

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/angular-translate - npm Package Compare versions

Comparing version 2.16.1 to 2.16.2

19

angular-translate/index.d.ts
// 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;

13

angular-translate/package.json
{
"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).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc