summaryrefslogtreecommitdiff
path: root/src/scripts/controllers
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 09:03:10 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 09:03:10 +0200
commit057952b0bacc6e963c74bb1bbebbcccd6174a75c (patch)
tree798b826dd285b3db6389f4cfe6b1c23bb32c0871 /src/scripts/controllers
parentd6021190753ddc9834ce2763373c592c258e37df (diff)
Fix typing errors
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 {