Skip to content

Commit 46ec820

Browse files
authored
Reference dependencies as imports in generated typescript definitions, see #596
1 parent 1f18453 commit 46ec820

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/pbts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ exports.main = function(args, callback) {
9898
if (argv.name !== "protobufjs")
9999
output.push(
100100
"",
101-
"import { Reader, Writer } from \"protobufjs\";",
101+
"import { Reader, Writer, Method } from \"protobufjs\";",
102102
""
103103
);
104104
output = output.join('\n') + "\n" + out.join('');

0 commit comments

Comments
 (0)