Merge pull request #4222 from cyrilschumacher/master

Add definition for "angular-i18next"
This commit is contained in:
Masahiro Wakame
2015-05-03 19:24:34 +09:00
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
/// <reference path="ng-i18next.d.ts" />
/**
* @summary Test for "ng-i18next" with options.
*/
function testOptions() {
var $provider: angular.i18next.I18nextProvider;
$provider.options = {};
}

12
ng-i18next/ng-i18next.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
// Type definitions for i18next v0.3.6
// Project: https://github.com/i18next/ng-i18next
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../i18next/i18next.d.ts" />
declare module angular.i18next {
interface I18nextProvider {
options: I18nextOptions;
}
}