Skip to content

Migrate project to TypeScript ✨#1503

Draft
Kocal wants to merge 12 commits into
mainfrom
typescript-migration
Draft

Migrate project to TypeScript ✨#1503
Kocal wants to merge 12 commits into
mainfrom
typescript-migration

Conversation

@Kocal

@Kocal Kocal commented Jun 25, 2026

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

@carsonbot carsonbot added Feature New Feature Status: Needs Review Needs to be reviewed labels Jun 25, 2026
@Kocal Kocal marked this pull request as draft June 25, 2026 04:22
@Kocal

Kocal commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

TIL: packing Encore with pnpm and installing it in another project with pnpm add -D ../path/to/encore.tgz breaks the auto-completion in webpack.config.mjs in PHPStorm (still works in VSCode), when it works with webpack.config.mts in PHPStorm (and VSCode too).
But, installing Encore in a test project with pnpm add -D github:symfony/webpack-encore#typescript-migration works! Surely pnpm is doing something weird that PHPStorm can't resolve, but at least we know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New Feature Status: Needs Review Needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC] Ship typescript types for the public APIs

2 participants