Open artdevgame opened 2 years ago
https://github.com/obs-websocket-community-projects/obs-websocket-js/blob/82780a6da84d918d0ee59792f6943984df64dedb/src/typings/obsWebsocket.ts#L368
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
obs-websocket
item
So the type should probably be?
item: { name?: string; id?: number } | string;
Same deal for SetSceneItemProperties
SetSceneItemProperties
https://github.com/obs-websocket-community-projects/obs-websocket-js/blob/82780a6da84d918d0ee59792f6943984df64dedb/src/typings/obsWebsocket.ts#L368
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#getsceneitempropertiesSo the type should probably be?
Same deal for
SetSceneItemProperties