diff --git a/packages/url/tsconfig.json b/packages/url/tsconfig.json index 3c2c31f506f132..70efdfe49990d5 100644 --- a/packages/url/tsconfig.json +++ b/packages/url/tsconfig.json @@ -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/**/*" ] } diff --git a/tsconfig.base.json b/tsconfig.base.json index 150fa39973dc64..4d9920e600802f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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-*/**" ] }