From 48d8146a89e891e512f3021ed5f3af03f39a006a Mon Sep 17 00:00:00 2001 From: Jan Zak Date: Wed, 29 Jun 2016 23:18:47 +0200 Subject: [PATCH 1/2] Fix i18next default export --- i18next/i18next.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18next/i18next.d.ts b/i18next/i18next.d.ts index 5e2f8dcd20..02efffbc87 100644 --- a/i18next/i18next.d.ts +++ b/i18next/i18next.d.ts @@ -125,5 +125,5 @@ declare namespace I18next { declare module 'i18next' { var i18n:I18next.I18n; - export = i18n; + export default i18n; } From 31a80af9134bf7fc6d08f036ea62d8a281f04f2d Mon Sep 17 00:00:00 2001 From: Jan Zak Date: Mon, 4 Jul 2016 11:34:41 +0200 Subject: [PATCH 2/2] Fix i18next import --- .../i18next-sprintf-postprocessor-tests.ts | 2 +- i18next/i18next-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i18next-sprintf-postprocessor/i18next-sprintf-postprocessor-tests.ts b/i18next-sprintf-postprocessor/i18next-sprintf-postprocessor-tests.ts index 36a948d620..b251acba91 100644 --- a/i18next-sprintf-postprocessor/i18next-sprintf-postprocessor-tests.ts +++ b/i18next-sprintf-postprocessor/i18next-sprintf-postprocessor-tests.ts @@ -1,6 +1,6 @@ /// -import * as i18next from "i18next"; +import i18next from "i18next"; import * as sprintfA from "i18next-sprintf-postprocessor"; import sprintfB from "i18next-sprintf-postprocessor/dist/commonjs"; diff --git a/i18next/i18next-tests.ts b/i18next/i18next-tests.ts index 373b7394b4..81c1c214b0 100644 --- a/i18next/i18next-tests.ts +++ b/i18next/i18next-tests.ts @@ -5,7 +5,7 @@ /// /// -import * as i18n from 'i18next'; +import i18n from 'i18next'; i18n.init({ debug: true,