From 169638382de9efe35a1079c5f2045c33b858059a Mon Sep 17 00:00:00 2001 From: halex2005 Date: Wed, 4 Jan 2017 00:58:21 +0500 Subject: [PATCH] use $protobuf.Long --- 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 2cbdbdf29..7a4447130 100644 --- a/cli/targets/static.js +++ b/cli/targets/static.js @@ -250,7 +250,7 @@ function buildType(ref, type) { case "sint64": case "fixed64": case "sfixed64": - jsType = "number|Long"; + jsType = "number|$protobuf.Long"; break; case "bool": jsType = "boolean";