-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Use 'export * from' for public API instead of 'export =' #57163
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
Conversation
@typescript-bot perf test |
Heya @jakebailey, I've started to run the regular perf test suite on this PR at 5406f1d. You can monitor the build here. Update: The results are in! |
Ah, of course.
In #51474 I actually did the reverse of this PR to fix #51473 and it's been long enough that I've forgotten. I honestly don't understand this import helper stuff. I guess I could force |
@jakebailey Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
tsserverComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
startupComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
I stuck this into #57133. |
In #57133, I noticed that the emit for
export =
is actually worse for our bundle by a good bit; if we useexport * from
, things are less nested and smaller. Nothing changes for the public API as far as I'm aware.