Skip to content

build(deps): upgrade typescript to 5.9.3#230

Open
Ilanaya wants to merge 1 commit intodevelopfrom
feature/typescript-stable-migration
Open

build(deps): upgrade typescript to 5.9.3#230
Ilanaya wants to merge 1 commit intodevelopfrom
feature/typescript-stable-migration

Conversation

@Ilanaya
Copy link
Collaborator

@Ilanaya Ilanaya commented Feb 16, 2026

Changes

  • TypeScript & internals upgrade — typescript bumped to 5.9.3, ts-expose-internals to 5.6.3
  • Explicit ts imports across ~80 files — Every plugin source file now has an explicit import * as ts from 'typescript/lib/tsserverlibrary' instead of relying on the old ambient global. The old ts.d.ts is deleted
  • Reworked globals typingsglobals.d.ts rewritten to use a proper declare global {} block, making the ambient/global boundary explicit and compatible with TS 5.9
  • ESLint rule change@typescript-eslint/no-restricted-imports rule that banned typescript* imports removed, since direct imports are now the intended pattern

Notes

  • Build size wasn't changed:
image * No changes in user facing features were made

@Ilanaya Ilanaya force-pushed the feature/typescript-stable-migration branch from cab7755 to fa9f440 Compare March 1, 2026 21:49
Added explicit `import * as ts` statements across plugin source files instead of declaring it globally. See #227 (comment)
@Ilanaya Ilanaya force-pushed the feature/typescript-stable-migration branch from fa9f440 to 07e6e95 Compare March 1, 2026 22:06
@Ilanaya Ilanaya marked this pull request as ready for review March 1, 2026 22:07
@zardoy
Copy link
Owner

zardoy commented Mar 2, 2026

merge if its ready to merge

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