Skip to content

πŸ“ˆ Open source, privacy-first web analytics β€” a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

ts-ignore -> ts-expect-error

Blue Mouseb889fa8ee308
diff --git a/apps/production/src/task-manager/task-manager.service.ts b/apps/production/src/task-manager/task-manager.service.ts
index 921acce87..e4bf84735 100644
--- a/apps/production/src/task-manager/task-manager.service.ts
+++ b/apps/production/src/task-manager/task-manager.service.ts
@@ -302,7 +302,7 @@ export class TaskManagerService {
const now = dayjs.utc().format('DD.MM.YYYY')
const timeAgo = dayjs
.utc()
- // @ts-ignore
+ // @ts-expect-error
.subtract(...params.dayjsParams)
.format('DD.MM.YYYY')
const date = `${timeAgo} - ${now}`
@@ -364,7 +364,7 @@ export class TaskManagerService {
const now = dayjs.utc().format('DD.MM.YYYY')
const timeAgo = dayjs
.utc()
- // @ts-ignore
+ // @ts-expect-error
.subtract(...params.dayjsParams)
.format('DD.MM.YYYY')
const date = `${timeAgo} - ${now}`
@@ -994,7 +994,7 @@ export class TaskManagerService {
const text = `πŸ”” Alert *${alert.name}* got triggered!\nYour project *${project.name}* has *${online}* online users right now!`
if (online >= alert.queryValue) {
- // @ts-ignore
+ // @ts-expect-error
await this.alertService.update(alert.id, {
lastTriggered: new Date(),
})
@@ -1083,7 +1083,7 @@ export class TaskManagerService {
const count = Number(queryResult[0]['count()'])
if (count >= alert.queryValue) {
- // @ts-ignore
+ // @ts-expect-error
await this.alertService.update(alert.id, {
lastTriggered: new Date(),
})