Merge pull request #9884 from zakjan/master

Fix i18next default export
This commit is contained in:
Mohamed Hegazy
2016-07-05 14:57:54 -07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
///<reference path="./i18next-sprintf-postprocessor.d.ts"/>
import * as i18next from "i18next";
import i18next from "i18next";
import * as sprintfA from "i18next-sprintf-postprocessor";
import sprintfB from "i18next-sprintf-postprocessor/dist/commonjs";

View File

@@ -5,7 +5,7 @@
/// <reference path="../jquery/jquery.d.ts" />
/// <reference path="i18next.d.ts" />
import * as i18n from 'i18next';
import i18n from 'i18next';
i18n.init({
debug: true,

View File

@@ -125,5 +125,5 @@ declare namespace I18next {
declare module 'i18next' {
var i18n:I18next.I18n;
export = i18n;
export default i18n;
}