Skip to content

Commit 0bc4a14

Browse files
committed
CLI: Statically emitted long type is 'Long' now instead of '$protobuf.Long', see #718
1 parent c04d4a5 commit 0bc4a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/targets/static.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function toJsType(field) {
265265
case "sint64":
266266
case "fixed64":
267267
case "sfixed64":
268-
return "number|$protobuf.Long";
268+
return "number|Long";
269269
case "bool":
270270
return "boolean";
271271
case "string":

0 commit comments

Comments
 (0)