-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Better typings for Array.map() #33832
Conversation
b6e11d6
to
59de40a
Compare
f25a970
to
6e6d2e5
Compare
7290d04
to
0d849d4
Compare
fc4b235
to
ba11b95
Compare
eec46f9
to
952463a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this PR will be ready until #36554 is complete. Let's hold this until we have enough examples there, because the solution we end up with may look quite different.
87c8ab5
to
13feab6
Compare
This PR hasn't seen any activity for quite a while, so I'm going to close it to keep the number of open PRs manageable. I think we should finish the discussion at #36554 before making changes. |
Before
> node built/local/tsc.js --diagnostics --p src/compiler/tsconfig.json Files: 124 Lines: 144298 Nodes: 685484 Identifiers: 274646 Symbols: 148671 Types: 51651 Memory used: 560305K I/O read: 0.03s I/O write: 0.06s Parse time: 2.02s Bind time: 2.48s Check time: 11.52s Emit time: 7.49s Total time: 23.50s
After
> node built/local/tsc.js --diagnostics --p src/compiler/tsconfig.json Files: 124 Lines: 144298 Nodes: 685510 Identifiers: 274652 Symbols: 151814 Types: 52094 Memory used: 562092K I/O read: 0.03s I/O write: 0.06s Parse time: 2.02s Bind time: 2.43s Check time: 11.96s Emit time: 7.39s Total time: 23.81s
About 3,000 more symbols and 1% more total time.
Depends on #33885
Fixes #29841