protobuf.js version: 6.4.4
message Example {
map<string, string> ctx = 1;
}
# This is how definitions were generated:
pbjs -t static-module flow/flow.proto > flow/flow.js
pbts flow/flow.js > flow/flow.d.ts
This is annotation for the map<string, string> ctx = 1;
/**
* @type {string}
*/
$prototype.ctx = $protobuf.util.emptyObject;
/**
* @type {string}
*/
ctx: string;
I also tested with value being another message and it's the same.
protobuf.js version: 6.4.4
This is annotation for the
map<string, string> ctx = 1;I also tested with
valuebeing another message and it's the same.