[minor] improve typing on ScaleDomainCoordinator, fix comment in scale.ts