Skip to content

Commit

Permalink
Fixing teardown type (#180)
Browse files Browse the repository at this point in the history
fix(types): Fix teardown type.
  • Loading branch information
Borales committed Aug 28, 2021
1 parent 36f234b commit 1d5fce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChannelWrapper.ts
Expand Up @@ -218,7 +218,7 @@ export default class ChannelWrapper extends EventEmitter {
*/
removeSetup(
setup: SetupFunc,
teardown?: pb.Callback<void>,
teardown?: SetupFunc,
done?: pb.Callback<void>
): Promise<void> {
return pb.addCallback(done, () => {
Expand Down

0 comments on commit 1d5fce1

Please sign in to comment.