Open CrispyBacon1999 opened 4 months ago
Promise<void>
is returned if you have something like
async myFunc() {
return;
}
Hmm, that's not what I experienced when running tests that use that code... https://github.com/CrispyBacon1999/ntcore-react/actions/runs/8146634551/job/22265567902
The return signature for
topic.publish()
implies that it will always return a promise, but this line allows it to returnundefined
. Might be worth replacing it withreturn Promise.resolve()
instead?