diff --git a/ng-i18next/ng-i18next-tests.ts b/ng-i18next/ng-i18next-tests.ts new file mode 100644 index 000000000..243a39865 --- /dev/null +++ b/ng-i18next/ng-i18next-tests.ts @@ -0,0 +1,8 @@ +/// +/** +* @summary Test for "ng-i18next" with options. +*/ +function testOptions() { + var $provider: angular.i18next.I18nextProvider; + $provider.options = {}; +} diff --git a/ng-i18next/ng-i18next.d.ts b/ng-i18next/ng-i18next.d.ts new file mode 100644 index 000000000..33af5c42c --- /dev/null +++ b/ng-i18next/ng-i18next.d.ts @@ -0,0 +1,12 @@ +// Type definitions for i18next v0.3.6 +// Project: https://github.com/i18next/ng-i18next +// Definitions by: Cyril Schumacher +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +declare module angular.i18next { + interface I18nextProvider { + options: I18nextOptions; + } +} \ No newline at end of file