Closed vedantroy closed 2 years ago
I have an variable app of type uws.TemplatedApp. However, calling app.numSubscribers(channelName) fails with an error saying it is not a function.
app
uws.TemplatedApp
app.numSubscribers(channelName)
console.log(app.numSubscribers), shows that the method is undefined.
console.log(app.numSubscribers)
I have an variable
app
of typeuws.TemplatedApp
. However, callingapp.numSubscribers(channelName)
fails with an error saying it is not a function.console.log(app.numSubscribers)
, shows that the method is undefined.