Skip to content

chore: use an ES2015 target in tsconfig - #958

Merged
Naturalclar merged 1 commit into
masterfrom
chore/tsconfig-es2015
Nov 23, 2026
Merged

Naturalclar merged 1 commit into
masterfrom
chore/tsconfig-es2015

Conversation

@Naturalclar

Copy link
Copy Markdown
Member

Overview

TypeScript 6 deprecates target: ES5, so pnpm tsc fails on #955 (TypeScript 5.9 → 6.0) with:

tsconfig.json(3,15): error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0.

This PR switches the target to ES2015. tsc here only type-checks index.d.ts with --noEmit, so the target doesn't affect anything that's published.

It's a separate PR, rather than a commit on #955, so Dependabot can regenerate #955's lockfile cleanly on top of master. A hand-resolved TypeScript lockfile conflict touches every package that has typescript as a peer.

Test Plan

🤖 Generated with Claude Code

TypeScript 6 deprecates target=ES5 (TS5107), which blocks the
TypeScript 6 update (#955). tsc only type-checks index.d.ts with
--noEmit, so the target has no effect on published output, and ES2015
works with both TypeScript 5.9 and 6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Naturalclar
Naturalclar merged commit 352923c into master Nov 23, 2026
6 checks passed
@Naturalclar
Naturalclar deleted the chore/tsconfig-es2015 branch November 23, 2026 03:24
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