Skip to content

Outputting Typescript types #609

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

Merged
merged 1 commit into from
Dec 15, 2022
Merged

Conversation

weaverryan
Copy link
Member

@weaverryan weaverryan commented Dec 13, 2022

Q A
Bug fix? no
New feature? yes
Tickets Helps with #601
License MIT

Hi!

This outputs proper TypeScript type files. As a bonus, I found the bug in our build system that was making yarn build WAY too slow. The GH action that checks for out-of-date build files is now reactivated ⭐

I decided to output all .d.ts files, even for modules that are considered "internal". I thought about only exporting types from the "main" file... but libraries like Stimulus seem to export everything. Mostly, I'd like to follow whatever is "most normal".

Cheers!

We no longer parse ALL .ts files for EACH package we're building with rollup. Also,
we ouput the the type files straight from rollup

back
@weaverryan weaverryan merged commit f0967e4 into symfony:2.x Dec 15, 2022
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