Repository navigation
chore: drop TS ignoreDeprecations, enforce strict + isolatedModules - #214
Merged
Merged
Conversation
- remove ignoreDeprecations "6.0" from all tsconfigs - tsconfig.base.json: strict true, isolatedModules true, TS6 defaults for noUncheckedSideEffectImports and types - type-only imports for interfaces in decorated signatures (TS1272) - amqp-server: stop reading the ambient const enum RmqStatus at runtime MoltNet-Diary: 57b9bea9-011b-4797-9321-7f8709e26957 Task-Group: ts-strict Task-Completes: true
|
View your CI Pipeline Execution ↗ for commit f14be89
💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗ ☁️ Nx Cloud last updated this comment at |
With isolatedModules, ts-jest used module nodenext and kept native import(), which Jest's VM rejects without --experimental-vm-modules (file-storage S3/GCS lazy SDK loading). MoltNet-Diary: bbc6420c-2650-4182-bbad-b5080b0d40fb Task-Group: ts-strict
getlarge
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the Nx stack (#208–#212): drop the TypeScript 6 compatibility shims instead of carrying them.
Changes
"ignoreDeprecations": "6.0"from the root solution tsconfig and all 8 package tsconfigs.tsconfig.base.json:strict: true(packages already set it; only the base pinnedfalse).isolatedModules: true.noUncheckedSideEffectImports: false,types: ["*"]). Every lib/spec tsconfig already declares itstypes.isolatedModules:import typefor interfaces used in decorated constructor signatures (TS1272) in async-local-storage, lock and a fastify-upload test controller. Emitted decorator metadata is unchanged (Object).amqp-server.tsno longer readsRmqStatusmembers. It is an ambientconst enumin@nestjs/microservices, whichisolatedModulescannot inline. A local map typed asRmqStatusreplaces it, and the publicServer<RmqEvents, RmqStatus>type is unchanged.isolatedModulesoverride in the eslint-plugin spec tsconfig and the duplicateesModuleInteropin cluster.TS151002warning ("hybrid module kind … only supported in isolatedModules") is gone.Verification
typecheck+build(dist, out-tsc and tsbuildinfo removed) for all 8 projects.lintfor all 8 projects, plusnx format:checkandnx sync:check.