mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 11:15:05 +00:00
Export modules in typescript
This commit is contained in:
1 parent
56f0ab5a40
commit
9303c4fcc9
38 files changed
+38
-38
No files matched your search
@@ -1,4 +1,4 @@
|
||||
module.exports = function msToTime(duration) {
|
||||
export default function msToTime(duration) {
|
||||
let seconds = Math.floor((duration / 1000) % 60),
|
||||
minutes = Math.floor((duration / (1000 * 60)) % 60),
|
||||
hours = Math.floor((duration / (1000 * 60 * 60)) % 24),
|
||||
|
||||
Reference in new issue
Block a user