Skip to content

Commit

Permalink
fix: simplify TypeScript config
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesMangwa committed May 7, 2024
1 parent ec43658 commit 7ebfc3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3,970 deletions.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
"author": "emarsys",
"license": "MIT",
"devDependencies": {
"@tsconfig/react-native": "^3.0.5",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.1",
"@types/react-native": "^0.73.0",
"@types/react-test-renderer": "^18.3.0",
"typescript": ">=3.7.2"
},
"peerDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"extends": "@tsconfig/react-native/tsconfig.json",
// Tells TypeScript where to look for files to work with.
"include": ["index.js", "src/**/*"],
"compilerOptions": {
// Tells TypeScript to read JS files, as normally they are ignored as source files.
// Skip type checking all .d.ts files from external libraries.
"skipLibCheck": true,
// Tell TypeScript to read JS files, as normally they are ignored as source files.
"allowJs": true,
// Ask Typescript to generate .d.ts declaration files.
"noEmit": false,
Expand Down
Loading

0 comments on commit 7ebfc3d

Please sign in to comment.