mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-28 08:58:50 +00:00
fix: export types
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
{
|
||||
"extends": "@react-native/typescript-config/tsconfig.json"
|
||||
"extends": "@react-native/typescript-config/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"react-native-video": ["../"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user