diff options
author | gumi <git@gumi.ca> | 2021-08-19 12:14:37 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2021-08-19 12:21:16 -0400 |
commit | 802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543 (patch) | |
tree | eed99a377249bdac523c275614925078e6e02167 /src/components/ServerStatus.vue | |
parent | c3d48e0be54364cf14df4eb1c3ed49d74ae8ab6d (diff) | |
download | website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.tar.gz website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.tar.bz2 website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.tar.xz website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.zip |
fix some typescript warnings
Diffstat (limited to 'src/components/ServerStatus.vue')
-rw-r--r-- | src/components/ServerStatus.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ServerStatus.vue b/src/components/ServerStatus.vue index dd4eaa7..c5f6d3c 100644 --- a/src/components/ServerStatus.vue +++ b/src/components/ServerStatus.vue @@ -69,7 +69,7 @@ export default class ServerStatus extends Vue { setTimeout(this.getStatus, 8000); } - mounted () { + mounted (): void { // use the last cached value to populate prior to first fetch: if (Reflect.has(self, "localStorage")) { this.Players = +(localStorage.getItem("onlinePlayers") || 99); |