From e7756704b476267f9859e00cff492ab6cfe10770 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 20 Oct 2021 11:23:29 -0400 Subject: [PATCH] Update typings --- utils/GunSmith/gun.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/GunSmith/gun.js b/utils/GunSmith/gun.js index df3f22dc..f69dee87 100644 --- a/utils/GunSmith/gun.js +++ b/utils/GunSmith/gun.js @@ -41,13 +41,13 @@ process.on('unhandledRejection', e => { }) /** - * @type {GunT.GUNNode} + * @type {Smith.GunSmithNode} */ // eslint-disable-next-line init-declarations let gun /** - * @type {GunT.UserGUNNode} + * @type {Smith.UserSmithNode} */ // eslint-disable-next-line init-declarations let user @@ -170,7 +170,7 @@ const handleMsg = async msg => { if (msg.type === 'on') { const [root, ...keys] = msg.path.split('>') - /** @type {GunT.GUNNode} */ + /** @type {Smith.GunSmithNode} */ let node = { $root: gun, @@ -193,7 +193,7 @@ const handleMsg = async msg => { if (msg.type === 'map.on') { const [root, ...keys] = msg.path.split('>') - /** @type {GunT.GUNNode} */ + /** @type {Smith.GunSmithNode} */ let node = { $root: gun, @@ -220,7 +220,7 @@ const handleMsg = async msg => { await waitForAuth() } - /** @type {GunT.GUNNode} */ + /** @type {Smith.GunSmithNode} */ let node = { $root: gun, @@ -247,7 +247,7 @@ const handleMsg = async msg => { if (msg.type === 'multiPut') { const [root, ...keys] = msg.path.split('>') - /** @type {GunT.GUNNode} */ + /** @type {Smith.GunSmithNode} */ let node = { $root: gun,