Permalink
Browse files

Reference dependencies as imports in generated typescript definitions…

…, see #596
  • Loading branch information...
vanishs committed Dec 30, 2016
1 parent 1f18453 commit 46ec8209b21cf9ff09ae8674e2a5bbc49fd4991b
Showing with 1 addition and 1 deletion.
  1. +1 −1 cli/pbts.js
@@ -98,7 +98,7 @@ exports.main = function(args, callback) {
if (argv.name !== "protobufjs")
output.push(
"",
"import { Reader, Writer } from \"protobufjs\";",
"import { Reader, Writer, Method } from \"protobufjs\";",
""
);
output = output.join('\n') + "\n" + out.join('');

0 comments on commit 46ec820

Please sign in to comment.