We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a04133 commit 72d3a10Copy full SHA for 72d3a10
1 file changed
shared/packages/tsr-bridge/src/TSR.ts
@@ -154,15 +154,15 @@ export class TSR {
154
if (newDeviceOptions.type === DeviceType.CASPARCG) {
155
const originalPrepare = device.device.prepareForHandleState?.bind(device.device)
156
if (originalPrepare) {
157
- device.device.prepareForHandleState = async (newStateTime: number, ...args: any[]) => {
+ device.device.prepareForHandleState = async (newStateTime: number) => {
158
const now = this.getCurrentTime()
159
this.log.info('TSR resync prepare', {
160
deviceId,
161
newStateTime,
162
now,
163
diff: newStateTime - now,
164
})
165
- return originalPrepare(newStateTime, ...args)
+ return originalPrepare(newStateTime)
166
}
167
168
0 commit comments