Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetSceneItemProperties has incomplete type #266

Open
artdevgame opened this issue Sep 10, 2021 · 0 comments
Open

GetSceneItemProperties has incomplete type #266

artdevgame opened this issue Sep 10, 2021 · 0 comments

Comments

@artdevgame
Copy link
Contributor

artdevgame commented Sep 10, 2021

item: { name?: string; id?: number };

According to the obs-websocket docs, item can be a string or an object:
https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#getsceneitemproperties

So the type should probably be?

item: { name?: string; id?: number } | string;

Same deal for SetSceneItemProperties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant