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 */