fix typescript

This commit is contained in:
Andre Staltz 2024-01-19 12:48:57 +02:00
parent 7d5588ef4d
commit 4946afac12
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 0 deletions

View File

@ -928,6 +928,7 @@ function initDB(peer, config) {
const tangles = populateTangles(tangleTemplates)
const accountTangle = new DBTangle(opts.account, records(), get)
const accountTips = [...accountTangle.tips]
/**@type {MsgV4.CreateOpts}*/
const fullOpts = { ...opts, tangles, accountTips, keypair }
// If opts ask for encryption, encrypt and put ciphertext in opts.data