Skip to content

Commit 7e089dc

Browse files
authoredMar 12, 2021
Merge pull request #1276 from pedrodurek/master
Move type definition files
2 parents 44ad9cd + f9db6be commit 7e089dc

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
 

‎src/index.d.ts ‎index.d.ts

File renamed without changes.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "11.8.9",
44
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
55
"main": "dist/commonjs/index.js",
6-
"types": "src/index.d.ts",
6+
"types": "./index.d.ts",
77
"typesVersions": {
88
">=4.1": {
99
"*": [
10-
"src/ts4.1/index.d.ts"
10+
"ts4.1/*"
1111
]
1212
}
1313
},
File renamed without changes.

‎tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"strict": true,
1010
"noEmit": true,
1111
"baseUrl": ".",
12-
"paths": { "react-i18next": ["./src"] },
12+
"paths": { "react-i18next": ["./"] },
1313

1414
"esModuleInterop": true,
1515
"allowSyntheticDefaultImports": true

0 commit comments

Comments
 (0)
Please sign in to comment.