Skip to content

Commit bd8a44e

Browse files
coder83469pangyinqiang
andauthored
fix:修改构建报错,删除importsNotUsedAsValues配置项 (#17)
Co-authored-by: pangyinqiang <pangyinqiang1@h-partners.com>
1 parent d0dc365 commit bd8a44e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
},
4646
"homepage": "https://github.com/a7ul/react-native-exception-handler",
4747
"dependencies": {
48-
"react-native-exception-handler": "2.10.10"
48+
"react-native-exception-handler": "2.10.10",
49+
"react": "18.2.0",
50+
"react-native": "0.72.5"
4951
},
5052
"devDependencies": {
5153
"@types/react": "^18.2.12",

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"allowUnreachableCode": false,
1010
"allowUnusedLabels": false,
1111
"esModuleInterop": true,
12-
"importsNotUsedAsValues": "error",
1312
"forceConsistentCasingInFileNames": true,
1413
"lib": ["esnext"],
1514
"module": "esnext",
@@ -26,4 +25,4 @@
2625
"strict": true,
2726
"target": "esnext"
2827
}
29-
}
28+
}

0 commit comments

Comments
 (0)