Skip to content
Permalink
Browse files
fix: Import Long types
This adds an additional import to ensure the output of `pbts` includes the `long` package.
  • Loading branch information
JustinBeckwith committed Apr 19, 2019
2 parents ca52447 + 8a85863 commit 1d98cb86fcbc69bd54fb3d3254b348da6ac0a96b
Showing with 4 additions and 0 deletions.
  1. +4 −0 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 + ";",

0 comments on commit 1d98cb8

Please sign in to comment.