Skip to content

Commit

Permalink
fix: add window to setInterval to avoid typescript complains
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Jul 11, 2024
1 parent 48efbbd commit bb43eef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/front/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thatopen/components-front",
"description": "Collection of frontend tools to author BIM apps.",
"version": "2.1.2",
"version": "2.1.3",
"author": "That Open Company",
"contributors": [
"Antonio Gonzalez Viegas (https://github.com/agviegas)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class StreamerDbCleaner {
this._intervalId = null;
return;
}
this._intervalId = setInterval(() => {
this._intervalId = window.setInterval(() => {
const now = performance.now();
for (const [id, time] of this.list) {
const age = now - time;
Expand Down

0 comments on commit bb43eef

Please sign in to comment.