The npm package is being deprecated and documentation recommends to switch to
Node.js gRPC Library
This library is now only receiving bug fixes and runtime compatibility updates. In April 2021 it will be deprecated and will no longer receive any updates. https://www.npmjs.com/package/grpc#nodejs-grpc-library
The tool generates a problematic import import * as grpc from "grpc"; which should be switched and the README doesn't document if there's an argument that supports the switch.