Frontend/utils: Add missing type (#17312)

This commit is contained in:
Šimon Podlipský 2019-05-28 10:13:49 +02:00 committed by Torkel Ödegaard
parent 83187fd8ea
commit 83af1bdff3

View File

@ -133,7 +133,7 @@ kbn.secondsToHms = seconds => {
};
kbn.secondsToHhmmss = seconds => {
const strings = [];
const strings: string[] = [];
const numhours = Math.floor(seconds / 3600);
const numminutes = Math.floor((seconds % 3600) / 60);
const numseconds = Math.floor((seconds % 3600) % 60);