Closed dsherret closed 2 years ago
Another swc issue: https://github.com/swc-project/swc/issues/4067
After thinking about this one, the TS compiler itself can't figure this out in 4.6, but it can in 4.7 (unreleased). Also, it parses in JS. For that reason I'm going to proceed with the upgrade.
The new
OptCall
in swc makes a lot of our code more error prone. We will upgrade once this issue is resolved or alternatively change dprint-swc-ecma-ast-view to combine these two nodes together in the wrapper: https://github.com/swc-project/swc/issues/4010