Skip to content

Commit

Permalink
update pbjs callback type to the right one
Browse files Browse the repository at this point in the history
  • Loading branch information
vuryleo committed May 2, 2018
1 parent a4736c6 commit b6105c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pbjs.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type pbjsCallback = (err: Error|null, output?: string) => void;
type pbjsCallback = (err: Error|null, output?: string) => number|undefined;

/**
* Runs pbjs programmatically.
Expand Down

0 comments on commit b6105c0

Please sign in to comment.