mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
Merge pull request #4222 from cyrilschumacher/master
Add definition for "angular-i18next"
This commit is contained in:
8
ng-i18next/ng-i18next-tests.ts
Normal file
8
ng-i18next/ng-i18next-tests.ts
Normal 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
12
ng-i18next/ng-i18next.d.ts
vendored
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user