import { Tree } from "@nx/devkit"; /** * Set `skipTypeChecking: true` on every `@nx/webpack:webpack` build target. * * Under Nx 21 + TS 5.9 + the strict-flag set in `tsconfig.base.json`, * consumer code that was clean under TS 5.3 / loose mode surfaces large * numbers of TS6133 (unused params), TS7030 (missing returns), and TS2322 * (null-safety) errors. Forcing every consumer to clean these up before * being able to build is a non-starter for migration. * * `skipTypeChecking: true` disables `ForkTsCheckerWebpackPlugin` during the * webpack build, allowing bundles to produce despite type errors. This does * not mask errors in the editor (VS Code's TS server is unaffected) or in * the `nx run X:typecheck` target (added by `add-typecheck-targets`). * * Recommended UX: leave enabled during migration, then sweep code cleanup * as a separate workstream backed by `nx run-many --target=typecheck` for * verification. Optionally remove `skipTypeChecking` once each project is * clean. */ export default function update(host: Tree): void; //# sourceMappingURL=add-skip-type-checking.d.ts.map