Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[heft-typescript] Fix updateShapeSignature break #4471

Merged

Conversation

dmichon-msft
Copy link
Contributor

Summary

Fixes #4224
Fixes #4470

Details

Program#emit contains an additional parameter forceDtsEmit that is not in the published types, and is passed during shape signature computation. Heft was not forwarding this parameter when overriding the program, resulting in behavior changes.

How it was tested

Local repro of the issue in #4224. Running heft-webpack5-everything-test in watch mode and changing class ChunkClass in ChunkClass.ts to class Chunk Class.

Impacted documentation

None

@dmichon-msft dmichon-msft force-pushed the heft-typescript-dts-map-fix branch from 2f7f200 to 4d77148 Compare January 2, 2024 22:04
@dmichon-msft dmichon-msft merged commit ac528d4 into microsoft:main Jan 2, 2024
5 checks passed
@dmichon-msft dmichon-msft deleted the heft-typescript-dts-map-fix branch January 2, 2024 22:28
@octogonz
Copy link
Collaborator

octogonz commented Jan 3, 2024

🚀 Released with @rushstack/heft-typescript-plugin 0.2.16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
3 participants