After updating tsup to to v6.6.0 our build is failing when running a general type checking with --noEmit because the typings of tsup re-export the typings of terser which in turn are incorrectly parsed by rollup-plugin-dts. The error log can be found here: https://github.com/sapphiredev/shapeshift/actions/runs/4156157046/jobs/7189739909 and/or https://github.com/skyra-project/char/actions/runs/4156157083/jobs/7189740023
I know the root cause here is either terser or the dts plugin, but I also don't think either of those libraries can really realistically fix the issue so I'm hoping you can fix it on the tsup side.
For now I can apply a yarn patch to circumvent the issue, but that is less than ideal.