summaryrefslogtreecommitdiff
path: root/src/scripts/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/controllers')
-rw-r--r--src/scripts/controllers/connection/api.ts2
-rw-r--r--src/scripts/controllers/simulation/statecache.ts2
-rw-r--r--src/scripts/controllers/simulationcontroller.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/controllers/connection/api.ts b/src/scripts/controllers/connection/api.ts
index d3278561..1a1c122f 100644
--- a/src/scripts/controllers/connection/api.ts
+++ b/src/scripts/controllers/connection/api.ts
@@ -758,7 +758,7 @@ export class APIController {
}
}
- return rack;
+ return <IRack>rack;
});
});
}
diff --git a/src/scripts/controllers/simulation/statecache.ts b/src/scripts/controllers/simulation/statecache.ts
index 092bfe32..0a7767fa 100644
--- a/src/scripts/controllers/simulation/statecache.ts
+++ b/src/scripts/controllers/simulation/statecache.ts
@@ -10,7 +10,7 @@ export class StateCache {
public cacheBlock: boolean;
private simulationController: SimulationController;
- private intervalId: number;
+ private intervalId: any;
private caching: boolean;
// Item caches
diff --git a/src/scripts/controllers/simulationcontroller.ts b/src/scripts/controllers/simulationcontroller.ts
index 69997047..1185087d 100644
--- a/src/scripts/controllers/simulationcontroller.ts
+++ b/src/scripts/controllers/simulationcontroller.ts
@@ -42,7 +42,7 @@ export class SimulationController {
public rackToRoomMap: {[key: number]: number;};
private taskViewController: TaskViewController;
- private tickerId: number;
+ private tickerId: any;
public static showOrHideSimComponents(visibility: boolean): void {