Skip to content

Commit

Permalink
Fix type of SchemaReporter.pollTimer (#7769)
Browse files Browse the repository at this point in the history
Fixes #7768
  • Loading branch information
cwikla committed Oct 26, 2023
1 parent 201524b commit 4fac162
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/late-donuts-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@apollo/server': patch
---

Change SchemaReporter.pollTimer from being a NodeJS.Timer to a NodeJS.Timeout
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class SchemaReporter {
private readonly fetcher: Fetcher;

private isStopped: boolean;
private pollTimer?: NodeJS.Timer;
private pollTimer?: NodeJS.Timeout;
private readonly headers: Record<string, string>;

constructor(options: {
Expand Down

0 comments on commit 4fac162

Please sign in to comment.