Strip extraneous properties from task objects

This commit is contained in:
Zaid Humaimidi committed 2023-08-28 18:19:23 -07:00
1 parent ea956fbc9c
commit 4b0d1786dd
2 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ export function commit(
_tasks: QueueTask[]
) => void
): Promise<void> {
const devices: { [deviceId: string]: any[] } = {};
const devices: { [deviceId: string]: QueueTask[] } = {};
if (!canQueue(tasks))
return Promise.reject(new Error("Too many tasks in queue"));