Jake Bailey

Results 1452 comments of Jake Bailey

This seems to be very similar to #56081 (sorta) / #52345 / #55948, something I tried to help fix a while back. This repo seems to spend basically all of...

That being said, I'm confused as to this repro; it mentions an eslint error showing up (not TS related?), and the above perf problem was coming from diagnostics themselves, not...

I'm not sure where this is happening, but something in this example is attempting to create a union with _628,109_ types, 1,733 of which are template literals, and _626,376_ are...

Adding in a limiter to bail out when this situation happens points here: ``` src/components/UserProfile/UserProfile.tsx:14:38 - error TS2590: Expression produces a union type that is too complex to represent. 14...

Just to show what those strings are, if that helps you narrow down the bad code: ``` healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.predictiveAnalytics.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.articles.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.medicationLogs.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.symptomLogs.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.contraceptiveMethods.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.contraceptiveReminders.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.ovulationTests.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.basalBodyTemperatures.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.menstrualHealthInsights.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.ovulationPredictions.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.ovulationCycles.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.birthday.* healthGoals.userProfile.automatedUpdates.userProfile.privacySettings.userProfile.avatar.*...

Can you try the build on https://github.com/microsoft/TypeScript/pull/59759#issuecomment-2310657198 to see if that fixes things in general?

Hm, okay. I rechecked the profile for just a completion call, and most of the time is now spent in auto-imports. [vscode-profile-2024-08-26-11-20-10.cpuprofile](https://github.com/user-attachments/files/16752348/vscode-profile-2024-08-26-11-20-10.cpuprofile) In my logs, I do not see the...

@samchon This problem has nothing to do with the target being changed. TypeScript is now itself authored in modules, which do not allow at-runtime modification of exports, as opposed to...

I don't think this is useful; a user probably already knows what kind of system they're running on. That and, this text cannot change as it's a "load-bearing" string that...

I just don't think it's required. I don't know of any other application which does this, outside `go` itself, which is a compiler that produces native code. The GOOS/GOARCH that...