From 0bc4a14501f84f93afd6ce2933ad00749c82f4df Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Thu, 23 Mar 2017 23:24:47 +0100 Subject: [PATCH] CLI: Statically emitted long type is 'Long' now instead of '$protobuf.Long', see #718 --- cli/targets/static.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/targets/static.js b/cli/targets/static.js index 70372aa09..da97143c7 100644 --- a/cli/targets/static.js +++ b/cli/targets/static.js @@ -265,7 +265,7 @@ function toJsType(field) { case "sint64": case "fixed64": case "sfixed64": - return "number|$protobuf.Long"; + return "number|Long"; case "bool": return "boolean"; case "string":