fix: export types

This commit is contained in:
Krzysztof Moch
2024-11-27 13:47:37 +01:00
parent 8e9e39b667
commit 501be406fc
2 changed files with 8 additions and 1 deletions
+6 -1
View File
@@ -1,3 +1,8 @@
{
"extends": "@react-native/typescript-config/tsconfig.json"
"extends": "@react-native/typescript-config/tsconfig.json",
"compilerOptions": {
"paths": {
"react-native-video": ["../"]
}
}
}
+2
View File
@@ -5,6 +5,8 @@
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
"types": "./lib/typescript/module/src/index.d.ts",
"react-native": "src/index",
"exports": {
".": {
"import": {