Skip to content

build: enable strict mode - #5221

Open
timdeschryver wants to merge 1 commit into
mainfrom
build/strict
Open

build: enable strict mode#5221
timdeschryver wants to merge 1 commit into
mainfrom
build/strict

Conversation

@timdeschryver

Copy link
Copy Markdown
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Packages have their own isolated tsconfig.build files.

What is the new behavior?

  • Strict mode is enabled while building
  • Each tsconfig.build.json file extends from a base class.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@netlify

netlify Bot commented Aug 31, 2026

Copy link
Copy Markdown

Deploy Preview for ngrx-io ready!

Name Link
🔨 Latest commit 45045e8
🔍 Latest deploy log https://app.netlify.com/projects/ngrx-io/deploys/6a95d3351649f1000833e491
😎 Deploy Preview https://deploy-preview-5221--ngrx-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread tsconfig.build.json
"moduleResolution": "bundler",
"lib": ["ES2022", "dom"],
"target": "ES2022",
"useDefineForClassFields": true,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to enable this in a feature release for all packages (currently only signals and operators).
useDefineForClassFields is the new standard (with ES2022).

But this will be some work #3654

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant