Skip to content

Commit

Permalink
fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Feb 9, 2021
1 parent 39ee808 commit f6cf73c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import "bulma/css/bulma.css";
import Server from "./Server.svelte";
import { server_list, selected } from "./store";
import { fade } from 'svelte/transition';
let status: Array<string> = []
function get_status_icon (key) {
function get_status_icon (key: string): string {
switch (key) {
case 'ok':
return 'check_circle'
Expand Down
2 changes: 1 addition & 1 deletion src/Server.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
hash.update(`getMeetings${message}`);
return hash.getHash("HEX");
}
async function get_stats() {
async function get_stats(): Promise<void> {
if (!url) {
json = null;
status = undefined;
Expand Down

0 comments on commit f6cf73c

Please sign in to comment.