Commit 83af1bdf by Šimon Podlipský Committed by Torkel Ödegaard

Frontend/utils: Add missing type (#17312)

parent 83187fd8
...@@ -133,7 +133,7 @@ kbn.secondsToHms = seconds => { ...@@ -133,7 +133,7 @@ kbn.secondsToHms = seconds => {
}; };
kbn.secondsToHhmmss = seconds => { kbn.secondsToHhmmss = seconds => {
const strings = []; const strings: string[] = [];
const numhours = Math.floor(seconds / 3600); const numhours = Math.floor(seconds / 3600);
const numminutes = Math.floor((seconds % 3600) / 60); const numminutes = Math.floor((seconds % 3600) / 60);
const numseconds = Math.floor((seconds % 3600) % 60); const numseconds = Math.floor((seconds % 3600) % 60);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment