tsgo --version
Version 7.0.0-dev.20251124.1
tsgo --pretty
tests/js/test-balancer/index.js:13:18 - error TS7006: Parameter 'results' implicitly has an 'any' type.
13 module.exports = results => {
As a workaround, I have extracted the code to a separate function, annotated that and assigned it to module.exports. This works in both tsc and tsgo: