This solves ENG-7635, at least temporarily. It looks like it's this GitHub issue, first introduced by this change.
People on the GitHub issue have several suggestions:
- This change
- Removing @babel/plugin-transform-private-methods, which we could consider if we remove the private method uses in the transitive dependency that necessitates its introduction initially
- Adding a babel plugin somewhere that strips Flow types. I'll consider this one as I continue investigating