obs-websocket-community-projects / obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket
MIT License
657 stars 95 forks source link

SetSceneSceneTransitionOverride type does not support providing null to remove #351

Open AlecMMiller opened 4 months ago

AlecMMiller commented 4 months ago

Description:

Unless I'm misunderstanding the documentation

transitionName: Name of the scene transition to use as override. Specify null to remove

In order to remove the override I should provide an argument of null to remove e.g.

obs.call('SetSceneSceneTransitionOverride', { transitionName: null, sceneName })

However, the type only allows for either undefined (unchanged) or a string.

Versions Used (if applicable):