Me: Oops, this large union was actually 'any', let me fix it TypeScript: That'll be a big no from me, bosspic.twitter.com/ghZRfGiLvh
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
idk are you sure you’re qualified to debug a js typechecker/compiler
I'm in over my head this time
OOM? Make the union smaller so it doesn’t crash then profile the heap to find out where the memory is going?
Yeah I've tried making the union smaller/removing entries but it looks like there's some specific type comparison that's causing it. I wish there was a type stack trace or something
@sebmck If you have chrome devtools attached to the node process I'm reasonably sure it will pause _just_ before OOM and allow you to take heap snapshots and view the current stack
Sweet! Thanks for the tip. I’ll try it out tomorrow when I can.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.