Open mattrossman opened 1 year ago
I'm getting a type error when listening for CustomEvent events broadcast via BroadcastCustomEvent
obs.on("CustomEvent", (data) => { console.log("CustomEvent:", data) })
I saw in the discussion in #300 that this should be either fixed upstream in https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.json or in the build script https://github.com/obs-websocket-community-projects/obs-websocket-js/blob/master/scripts/build-types.ts
Upstream issue https://github.com/obsproject/obs-websocket/issues/1031
Description:
I'm getting a type error when listening for CustomEvent events broadcast via BroadcastCustomEvent
I saw in the discussion in #300 that this should be either fixed upstream in https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.json or in the build script https://github.com/obs-websocket-community-projects/obs-websocket-js/blob/master/scripts/build-types.ts
Versions Used (if applicable):