refactor: cosmetics

This commit is contained in:
Andre Staltz 2023-10-26 13:03:52 +03:00
parent dea38e4c1a
commit c1f527b5d5
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 6 additions and 3 deletions

View File

@ -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<string> | null;
* tangles: Record<string, TangleMetadata>;
* 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<string> | null;
* tangles: Record<string, Tangle>;
* tangles: {
* [tangleID in string]: Tangle
* };
* }} CreateOpts
*/