Ben Asher

Results 142 comments of Ben Asher

Actually I take it back. I can't reproduce the crash anymore. If I see it again, I'll come back with a reproduction. Apologies!

Basically, now you can get [here](https://github.com/workos/workos-node/blob/main/src/common/serializers/event.serializer.ts#L77), which returns `undefined`.

I think there are 2 options: 1. Update the type to be `Event | undefined` (and maybe everywhere else this is used?) 2. Add a default case that throws 2...

Erg sorry I think I chose the wrong template, and it auto-applied the bug label 🤦

Well I got pretty far just with this small change, but now I can't figure out how to get the AMD test to pass… any pointers there?

I also tried without adding a file to re-export from + just copy pasting all of the exports in the default export as named exports, but that has the same...

No problem. Thanks anyway! Yeah that's what I discovered as well. I did all kinds of inspection there and couldn't figure out a different way to get to the original...

It could be, but in my local build, I tried with the latest version of Babel 8, which didn't change anything.