protobuf.js
protobuf.js copied to clipboard
pbts generated code does not have an interface for generic "message" functions
protobuf.js version: 6.8.8
When generating static code with pbts I would expect there to be a Message
interface with encode
, decode
, etc. There isn't, so implementing generic functions which accept any protobuf message is a pain.
It'd be really nice if pbts supported this.
Thanks!
any update?