Typings stuff

This commit is contained in:
Daniel Lugo 2021-12-16 11:02:42 -04:00
parent 22f989ee99
commit 0166636ccc

View file

@ -15,7 +15,10 @@ const {
isAuthorizedDevice isAuthorizedDevice
} = require('./ECC') } = require('./ECC')
const uuid = () => words({ exactly: 24 }).join('-') const uuid = () => {
const arr = /** @type {string[]} */ (words({ exactly: 24 }))
return arr.join('-')
}
const storageDirectory = Path.resolve(__dirname, `./.test-storage`) const storageDirectory = Path.resolve(__dirname, `./.test-storage`)