Skip to content

Commit 8576b49

Browse files
vuryleodcodeIO
authored andcommitted
CLI: Fix declared return type of pbjs/pbts callback (#1025)
1 parent 9fceaa6 commit 8576b49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cli/pbjs.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type pbjsCallback = (err: Error|null, output?: string) => {};
1+
type pbjsCallback = (err: Error|null, output?: string) => void;
22

33
/**
44
* Runs pbjs programmatically.

Diff for: cli/pbts.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type pbtsCallback = (err: Error|null, output?: string) => {};
1+
type pbtsCallback = (err: Error|null, output?: string) => void;
22

33
/**
44
* Runs pbts programmatically.

0 commit comments

Comments
 (0)