Skip to content

Commit

Permalink
CLI: Fix declared return type of pbjs/pbts callback (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuryleo authored and dcodeIO committed May 18, 2018
1 parent 9fceaa6 commit 8576b49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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) => {};
type pbjsCallback = (err: Error|null, output?: string) => void;

/**
* Runs pbjs programmatically.
Expand Down
2 changes: 1 addition & 1 deletion cli/pbts.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type pbtsCallback = (err: Error|null, output?: string) => {};
type pbtsCallback = (err: Error|null, output?: string) => void;

/**
* Runs pbts programmatically.
Expand Down

0 comments on commit 8576b49

Please sign in to comment.