Skip to content

fix: type-check the shared-config merge under TypeScript 6 - #93

Merged
Shinrai merged 2 commits into
nextfrom
fix/config-extends-types
Sep 29, 2026
Merged

Shinrai merged 2 commits into
nextfrom
fix/config-extends-types

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

👥 Contributors

`let merged = {}` in the extends loader is inferred as `{}` under
TypeScript 6, which `mergeConfig` rejects, so `npm run types:check`
failed on the release PR once #86 pinned TypeScript back to 6. The
accumulator is now annotated as `Record<string, unknown>`.

The committed declarations under types/ are regenerated with
TypeScript 6: two of them still came from a TypeScript 7 build.
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code labels Sep 29, 2026
build:ci only ran types:build, which uses --noCheck, so the TypeScript 6
errors fixed in the previous commit passed every local gate and first
failed in the release PR's coverage job. build:ci now runs types:check
before building the declarations.
@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Sep 29, 2026
@Shinrai
Shinrai merged commit 168d9ae into next Sep 29, 2026
26 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/config-extends-types branch September 29, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant