Typings stuff
This commit is contained in:
parent
22f989ee99
commit
0166636ccc
1 changed files with 4 additions and 1 deletions
|
|
@ -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`)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue