We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0ee30 commit 4887be3Copy full SHA for 4887be3
server/scripts/services/participant-seed.ts
@@ -9,7 +9,7 @@ export const convertToCsv = async (incr: number, arr: unknown[], filename: strin
9
let currentId = incr;
10
11
arr.forEach((obj) => {
12
- csvStream.write({ id: currentId, ...obj });
+ csvStream.write({ id: currentId, ...(obj as Record<string, unknown>) });
13
currentId += 1;
14
});
15
0 commit comments