Skip to content

chore: enable noImplicitAny and strictPropertyInitialization for fast-router#7645

Open
AKnassa wants to merge 1 commit into
microsoft:mainfrom
AKnassa:chore/5341-router-strict-tsconfig
Open

chore: enable noImplicitAny and strictPropertyInitialization for fast-router#7645
AKnassa wants to merge 1 commit into
microsoft:mainfrom
AKnassa:chore/5341-router-strict-tsconfig

Conversation

@AKnassa

@AKnassa AKnassa commented Jul 12, 2026

Copy link
Copy Markdown

What this does

Turns on two stricter TypeScript checks for the fast-router package.

Why

fast-router was opting out of two safety checks the rest of the repo already uses. Turning them on catches a whole class of mistakes at build time instead of at runtime.

What changed

  • Removed the two local opt-outs in packages/fast-router/tsconfig.json, so the package now inherits the strict settings from the root config

How to see it

The typecheck itself is the test. It passes with zero errors, and all 10,917 router tests still pass.

Closes #5341

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@AKnassa AKnassa marked this pull request as ready for review July 13, 2026 04:06
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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.

Turn on noImplicitAny and strictPropertyInitialization for fast-router

1 participant