protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

Can the function parse be used in the browser?

Open wujunjiesd opened this issue 3 years ago • 1 comments

protobuf.js version: <6.11.2>

Can the function parse be used in the browser?

for example : const protoStr = syntax = "proto3"; package test; message user { optional string name = 1; }; const result= parse(protoStr);

I wrote like this and got an error: image

wujunjiesd avatar May 13 '22 12:05 wujunjiesd

I have the same issue. importing directly from dist solved it, but then I'm missing ide autocompletion

galangel avatar Jun 02 '22 13:06 galangel