Skip to content

Commit

Permalink
fix: use boolean for audible and incognito properties in heartbea…
Browse files Browse the repository at this point in the history
…t data (#171)
  • Loading branch information
BelKed authored Mar 5, 2025
1 parent 2076c82 commit af8450c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/background/heartbeat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ async function heartbeat(
const data: IEvent['data'] = {
url: tab.url,
title: tab.title,
audible: String(tab.audible ?? false),
incognito: String(tab.incognito),
audible: tab.audible ?? false,

Check failure on line 34 in src/background/heartbeat.ts

View workflow job for this annotation

GitHub Actions / typecheck

Type 'boolean' is not assignable to type 'string | number'.
incognito: tab.incognito,

Check failure on line 35 in src/background/heartbeat.ts

View workflow job for this annotation

GitHub Actions / typecheck

Type 'boolean' is not assignable to type 'string | number'.
tabCount: tabCount,
}
const previousData = await getHeartbeatData()
Expand Down

0 comments on commit af8450c

Please sign in to comment.