Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
'use strict'
|
||||
module.exports = (d, num) => {
|
||||
num = String(num)
|
||||
while (num.length < d) num = '0' + num
|
||||
return num
|
||||
}
|
||||
Reference in New Issue
Block a user