{
    "compilerOptions": {
        "allowJs": true,
        "esModuleInterop": true,
        "forceConsistentCasingInFileNames": true,
        "incremental": true,
        "jsx": "preserve",
        "lib": ["dom", "dom.iterable", "esnext"],
        "maxNodeModuleJsDepth": 10,
        "module": "esnext",
        "moduleResolution": "node",
        "noEmit": true,
        "noImplicitAny": true,
        "noUnusedLocals": true,
        "resolveJsonModule": true,
        "strict": true,
        "target": "es2018",
        "skipLibCheck": false,
        "types": ["webpack-env", "jest"]
    },
    "exclude": ["**/node_modules", "**/.*/"]
}

{
    "compilerOptions": {
        "allowJs": true,
        "esModuleInterop": true,
        "forceConsistentCasingInFileNames": true,
        "incremental": true,
        "jsx": "preserve",
        "lib": ["dom", "dom.iterable", "esnext"],
        "maxNodeModuleJsDepth": 10,
        "module": "esnext",
        "moduleResolution": "node",
        "noEmit": true,
        "noImplicitAny": true,
        "noUnusedLocals": true,
        "resolveJsonModule": true,
        "strict": true,
        "target": "es2018",
        "skipLibCheck": true,
        "types": ["webpack-env", "jest"]
    },
    "exclude": ["**/node_modules", "**/.*/"]
}

Set typescript `skipLibCheck` to true
Set typescript `skipLibCheck` to true

Because project dependencies are bigger, sub dependencies types tend to be
different and conflicts more often as the project grows.

We decided to enable `skipLibCheck` in order to ignore them.

This feature will skip error throwing on every `.d.ts` files encountered in
the project (meaning it's not only related to `node_modules`).

Typescript compilation and check will continue to work as intended. This means
 if source code uses errored `.d.ts` type it'll still throw error.
