mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 14:02:22 +08:00
Frontend/utils: Add missing type (#17312)
This commit is contained in:

committed by
Torkel Ödegaard

parent
83187fd8ea
commit
83af1bdff3
@ -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);
|
||||
|
Reference in New Issue
Block a user