Skip to content

Commit

Permalink
chore: update typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Joabesv committed Apr 8, 2024
1 parent b572b0b commit c84bc4f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion apps/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"pino-pretty": "^10.3.1",
"rimraf": "^5.0.5",
"tsx": "^4.7.1",
"typescript": "^5.3.2"
"typescript": "^5.4.4"
}
}
5 changes: 4 additions & 1 deletion packages/common/lib/batchInsert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export async function batchInsertItems<Item>(
try {
await func(item!);
} catch (error) {
// @ts-expect-error tsconfig probably
if (!item) {
throw new Error('Could not process item');
}

errors.push({ item, error });
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"pino-pretty": "^10.3.1",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.2"
"typescript": "^5.4.4"
}
}
30 changes: 16 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c84bc4f

Please sign in to comment.