@types/angular-translate
Advanced tools
Comparing version 2.4.35 to 2.15.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Angular Translate (pascalprecht.translate module) 2.4 | ||
// Type definitions for Angular Translate (pascalprecht.translate module) 2.15 | ||
// Project: https://github.com/PascalPrecht/angular-translate | ||
@@ -8,2 +8,5 @@ // Definitions by: Michel Salib <https://github.com/michelsalib> | ||
declare var _: string; | ||
export = _; | ||
import * as angular from 'angular'; | ||
@@ -49,4 +52,4 @@ | ||
interface ITranslateService { | ||
(translationId: string, interpolateParams?: any, interpolationId?: string): angular.IPromise<string>; | ||
(translationId: string[], interpolateParams?: any, interpolationId?: string): angular.IPromise<{ [key: string]: string }>; | ||
(translationId: string, interpolateParams?: any, interpolationId?: string, defaultTranslationText?: string, forceLanguage?: string): angular.IPromise<string>; | ||
(translationId: string[], interpolateParams?: any, interpolationId?: string, defaultTranslationText?: string, forceLanguage?: string): angular.IPromise<{ [key: string]: string }>; | ||
cloakClassName(): string; | ||
@@ -122,5 +125,5 @@ cloakClassName(name: string): ITranslateProvider; | ||
(name: 'translate'): { | ||
(translationId: string, interpolateParams?: any, interpolation?: string): string; | ||
(translationId: string, interpolateParams?: any, interpolation?: string, forceLanguage?: string): string; | ||
}; | ||
} | ||
} |
{ | ||
"name": "@types/angular-translate", | ||
"version": "2.4.35", | ||
"version": "2.15.0", | ||
"description": "TypeScript definitions for Angular Translate (pascalprecht.translate module)", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "81a810511ba4e5072ea7593c65d252b646287b2bc82d173dab3cd4fb383e3cd1", | ||
"typesPublisherContentHash": "e564e857a54bcad7362af3ab9dedf3255b9a5d516d7b4198d6008fedf2cc327e", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/angular-translate | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-translate | ||
Additional Details | ||
* Last updated: Thu, 16 Feb 2017 01:22:07 GMT | ||
* Last updated: Tue, 18 Apr 2017 15:04:41 GMT | ||
* Dependencies: angular | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
8814
112