Skip to content

Commit b01ff4f

Browse files
committed
typedef
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent eae6b44 commit b01ff4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/node.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,8 @@ export class NodeCommand extends BaseCommand {
618618
{
619619
title: 'Generate Gossip keys',
620620
task: async (ctx, parentTask) => {
621-
const config = ctx.config
621+
const config = /** @type {NodeSetupConfigClass} **/ ctx.config // TODO more typedefs
622+
622623
const subTasks = self._nodeGossipKeysTaskList(config.keyFormat, config.nodeIds, config.keysDir, config.curDate)
623624
// set up the sub-tasks
624625
return parentTask.newListr(subTasks, {

0 commit comments

Comments
 (0)