Skip to content

Commit 452dfbb

Browse files
committed
refactor(types): Add expected error after setting the subscribe callback
Signed-off-by: Drew Hoener <[email protected]>
1 parent 87fafae commit 452dfbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tf/TFClient.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export default class TFClient extends EventEmitter {
159159
messageType: 'tf2_web_republisher/TFArray'
160160
});
161161
this._subscribeCB = this.processTFArray.bind(this);
162+
// @ts-expect-error Function was bound above
162163
this.currentTopic.subscribe(this._subscribeCB);
163164
}
164165
/**

0 commit comments

Comments
 (0)