diff --git a/cli/pbts.js b/cli/pbts.js index ffaf0c6c6..fd6a081ca 100644 --- a/cli/pbts.js +++ b/cli/pbts.js @@ -170,7 +170,7 @@ exports.main = function(args, callback) { output.push("import * as " + key + " from \"" + imports[key] + "\";"); }); - output.push("import Long = require(\"long\");"); + output.push("import type Long from \"long\";"); } output = output.join("\n") + "\n" + out.join("");