Skip to content

Commit

Permalink
Restore native checking, relax implicit any
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Mar 20, 2020
1 parent 4b2a2cd commit ea4f17b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
5 changes: 4 additions & 1 deletion packages/url/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"declarationDir": "build-types"
"declarationDir": "build-types",

// This is required because the `react-native-url-polyfill` dependency lacks types
"noImplicitAny": false
},
"include": [ "src/**/*" ]
}
11 changes: 1 addition & 10 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,5 @@
"esModuleInterop": false,
"resolveJsonModule": true
},
"exclude": [
// Don't compile react-native types.
// They create incompatibilities and require a separate build.
"**/*.native.js",

"**/benchmark",
"**/test/**",
"**/build/**",
"**/build-*/**"
]
"exclude": [ "**/benchmark", "**/test/**", "**/build/**", "**/build-*/**" ]
}

0 comments on commit ea4f17b

Please sign in to comment.