Skip to content

Commit

Permalink
Fix complaining about interval types
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Aug 23, 2024
1 parent 2aab364 commit e76e314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heatmaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Heatmaps {

// TODO: Periodically flush this if no other event has taken care of it
private buffer: HeatmapEventBuffer
private _flushInterval: number | null = null
private _flushInterval: ReturnType<typeof setInterval> | null = null

constructor(instance: PostHog) {
this.instance = instance
Expand Down

0 comments on commit e76e314

Please sign in to comment.