Commit 63dc50f
authored
Fix type of ApolloServerPluginUsageReporting reportTimer (#7799)
Fixes #7798
In src/plugin/usageReporting/plugin.ts reportTimer is typed as
NodeJS.Timer, it is actually a timeout, so using node 18> types it is
incompatible with clearInterval()1 parent a7ecbba commit 63dc50f
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments