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";