From c1f527b5d5a54d3612f68e0fd41014abb9cde9f7 Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Thu, 26 Oct 2023 13:03:52 +0300 Subject: [PATCH] refactor: cosmetics --- lib/msg-v3/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/msg-v3/index.js b/lib/msg-v3/index.js index 44de3d5..d8212e9 100644 --- a/lib/msg-v3/index.js +++ b/lib/msg-v3/index.js @@ -29,7 +29,6 @@ const { isEmptyObject } = require('./util') * @typedef {import('ppppp-keypair').Keypair} Keypair */ - /** * @template [T=any] * @typedef {{ @@ -39,7 +38,9 @@ const { isEmptyObject } = require('./util') * dataSize: number; * account: string | (typeof ACCOUNT_SELF) | (typeof ACCOUNT_ANY); * accountTips: Array | null; - * tangles: Record; + * tangles: { + * [tangleID in string]: TangleMetadata + * }; * domain: string; * v: 3; * }; @@ -97,7 +98,9 @@ const { isEmptyObject } = require('./util') * keypair: Keypair; * account: string | (typeof ACCOUNT_SELF) | (typeof ACCOUNT_ANY); * accountTips: Array | null; - * tangles: Record; + * tangles: { + * [tangleID in string]: Tangle + * }; * }} CreateOpts */