diff --git a/src/index.d.ts b/index.d.ts similarity index 100% rename from src/index.d.ts rename to index.d.ts diff --git a/package.json b/package.json index 5f7645b15..a896fcfe7 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "11.8.9", "description": "Internationalization for react done right. Using the i18next i18n ecosystem.", "main": "dist/commonjs/index.js", - "types": "src/index.d.ts", + "types": "./index.d.ts", "typesVersions": { ">=4.1": { "*": [ - "src/ts4.1/index.d.ts" + "ts4.1/*" ] } }, diff --git a/src/ts4.1/index.d.ts b/ts4.1/index.d.ts similarity index 100% rename from src/ts4.1/index.d.ts rename to ts4.1/index.d.ts