Skip to content

[TypeScript] Migrate lib/config/*#1508

Merged
Kocal merged 1 commit into
symfony:typescript-migrationfrom
Kocal:typescript/config
Jun 30, 2026
Merged

[TypeScript] Migrate lib/config/*#1508
Kocal merged 1 commit into
symfony:typescript-migrationfrom
Kocal:typescript/config

Conversation

@Kocal

@Kocal Kocal commented Jun 30, 2026

Copy link
Copy Markdown
Member
Q A
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #...
License MIT

Related to #1503

@Kocal Kocal self-assigned this Jun 30, 2026
@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Jun 30, 2026
Comment on lines +15 to +17
// .js (not .ts): RuntimeConfig is exposed in this module's emitted .d.ts, and
// rewriteRelativeImportExtensions does NOT rewrite .ts -> .js inside .d.ts files
// (only in emitted .js). tsc still resolves .js -> the .ts source here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

When all files will be migrated to .ts, we should:

  1. modify all .ts imports to .js
  2. remove allowImportingTsExtensions and rewriteRelativeImportExtensions compiler options
  3. tweak ESLint configuration if necessary

@Kocal Kocal merged commit 61d7078 into symfony:typescript-migration Jun 30, 2026
38 checks passed
@Kocal Kocal deleted the typescript/config branch June 30, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Needs Review Needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants