Skip to content

Commit

Permalink
Reference dependencies as imports in generated typescript definitions…
Browse files Browse the repository at this point in the history
…, see #596
  • Loading branch information
vanishs committed Dec 30, 2016
1 parent 1f18453 commit 46ec820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pbts.js
Expand Up @@ -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('');
Expand Down

0 comments on commit 46ec820

Please sign in to comment.