Skip to content

Commit

Permalink
fix: Import Long types
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Feb 14, 2019
1 parent 6fa4c34 commit 8a85863
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/pbts.js
Expand Up @@ -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 + ";",
Expand Down

0 comments on commit 8a85863

Please sign in to comment.