ts-proto
 ts-proto将您的.proto文件转换为强类型的惯用TypeScript文件!
 (请注意,如果您是ts-proto的新用户,并且将现代TS设置与esModuleInterop一起esModuleInterop ,则还需要将其作为ts_proto_opt 。)
目录
总览
ts-proto从protobuf模式生成TypeScript类型。
 即给出一个person.proto模式,例如:
 message Person {
  string name = 1 ;
}
 ts-proto将生成一个person.ts文件,如下所示:
 interface Person {
                                    
                                    
                                        
                                            1