Skip to content

Bump typescript from 5.9.2 to 6.0.2#715

Merged
wojtekmaj merged 3 commits intomainfrom
ts6
Mar 23, 2026
Merged

Bump typescript from 5.9.2 to 6.0.2#715
wojtekmaj merged 3 commits intomainfrom
ts6

Conversation

@wojtekmaj
Copy link
Copy Markdown
Owner

Upgrade TypeScript to 6.0.2 and remove redundant strict config.

Copilot AI review requested due to automatic review settings March 23, 2026 22:54
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the monorepo’s TypeScript toolchain to v6.0.2 and simplifies tsconfig settings based on the new defaults, with an additional type shim for CSS imports in the test app.

Changes:

  • Bump TypeScript from 5.9.2 to 6.0.2 for the root workspace lockfile and updated workspaces.
  • Remove explicit "strict": true from several tsconfig files (relying on TS 6’s default strictness).
  • Add a *.css module declaration for the test workspace and adjust react-date-picker tsconfig options.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
yarn.lock Updates locked TypeScript resolution to 6.0.2.
test/tsconfig.json Removes explicit strict from test project tsconfig.
test/package.json Bumps TypeScript devDependency to ^6.0.2.
test/global.d.ts Adds ambient module declaration for *.css imports.
sample/tsconfig.json Removes explicit strict from sample project tsconfig.
packages/react-date-picker/tsconfig.json Removes explicit strict and adds rootDir.
packages/react-date-picker/package.json Bumps TypeScript devDependency to ^6.0.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sample/tsconfig.json
Comment on lines 7 to 11
"noEmit": true,
"noUncheckedIndexedAccess": true,
"skipLibCheck": true,
"strict": true,
"target": "esnext",
"verbatimModuleSyntax": true
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

Removing "strict": true here is only redundant if this package is compiled with TypeScript 6+, where strict defaults to true. In this repo, sample/package.json still pins typescript to ^5.9.2, so omitting strict will actually disable strict mode for the sample project. Either bump sample's TypeScript dependency (and its lockfile) to 6.0.2 as well, or keep "strict": true (or set it explicitly) in this tsconfig.

Copilot uses AI. Check for mistakes.
@wojtekmaj wojtekmaj merged commit 70bfc81 into main Mar 23, 2026
6 of 8 checks passed
@wojtekmaj wojtekmaj deleted the ts6 branch March 23, 2026 23:04
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.

2 participants