In the grand scheme of things this is for sure a nit pick, but if it was fixable it would add to the polish of the product. 🙏
If the ts codegen mechanism is under external control perhaps the client library could wrap the output and expose a more accurate api?