You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the OBSWebSocket.on response object for the 'ScenesChanged' event is void.
According to the protocol, the response object should have a scenes property of type OBSWebSocket.Scene[] but Typescript says there's no parameter at all, void.
The text was updated successfully, but these errors were encountered:
2bdkid
changed the title
OBSWebSocket.on has wrong response type for 'ScenesChanged' event
OBSWebSocket.on response object has wrong type for 'ScenesChanged' event
Mar 24, 2021
I have a feeling it is due to having obs.on('ScenesChanged', ({ scenes }) => { the scenes part be inside curly braces. Try removing the curly braces around scenes and see if you are still having issues.
Description:
It appears the
OBSWebSocket.on
response object for the 'ScenesChanged' event isvoid
.According to the protocol, the response object should have a
scenes
property of typeOBSWebSocket.Scene[]
but Typescript says there's no parameter at all,void
.Versions Used (if applicable):
The text was updated successfully, but these errors were encountered: