diff --git a/cli/pbts.js b/cli/pbts.js index f066964d0..cbe23cb8f 100644 --- a/cli/pbts.js +++ b/cli/pbts.js @@ -151,6 +151,10 @@ exports.main = function(args, callback) { "// DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run types'.", "" ); + output.push( + "import * as Long from \"long\";", + "" + ); if (argv.global) output.push( "export as namespace " + argv.global + ";",