diff --git a/services/gunDB/rpc.js b/services/gunDB/rpc.js index 3a4bf36d..4257ef3b 100644 --- a/services/gunDB/rpc.js +++ b/services/gunDB/rpc.js @@ -3,12 +3,15 @@ */ // @ts-check const { makePromise, Constants } = require('shock-common') +/** + * @typedef {import('./contact-api/SimpleGUN').ValidDataValue} ValidDataValue + */ const { getGun, getUser } = require('./Mediator') /** * @param {string} rawPath - * @param {import('./contact-api/SimpleGUN').ValidDataValue} value + * @param {ValidDataValue} value * @returns {Promise} */ const put = async (rawPath, value) => { @@ -54,7 +57,7 @@ const put = async (rawPath, value) => { /** * @param {string} rawPath - * @param {import('./contact-api/SimpleGUN').ValidDataValue} value + * @param {ValidDataValue} value * @returns {Promise} */ const set = async (rawPath, value) => {