diff --git a/packages/inter-protocol/src/my-lien.js b/packages/inter-protocol/src/my-lien.js index a3d50eec5c7a..aadb9d2d52b5 100644 --- a/packages/inter-protocol/src/my-lien.js +++ b/packages/inter-protocol/src/my-lien.js @@ -21,7 +21,7 @@ const XLien = /** @type { const } */ ({ */ /** - * @param {ERef} bridgeManager + * @param {ERef} bridgeManager * @param {Brand<'nat'>} brand * @param {string} [denom] * @returns {StakingAuthority} diff --git a/packages/smart-wallet/src/walletFactory.js b/packages/smart-wallet/src/walletFactory.js index 79b705f521e3..b69f731be1a0 100644 --- a/packages/smart-wallet/src/walletFactory.js +++ b/packages/smart-wallet/src/walletFactory.js @@ -60,7 +60,7 @@ export const publishDepositFacet = async ( * @param {ZCF} zcf * @param {{ * storageNode: ERef, - * bridgeManager?: ERef, + * bridgeManager?: ERef, * }} privateArgs */ export const start = async (zcf, privateArgs) => { diff --git a/packages/smart-wallet/test/supports.js b/packages/smart-wallet/test/supports.js index 8189af7bea04..8f62ebc4f318 100644 --- a/packages/smart-wallet/test/supports.js +++ b/packages/smart-wallet/test/supports.js @@ -84,9 +84,9 @@ const setUpZoeForTest = async () => { harden(setUpZoeForTest); const makeFakeBridgeManager = () => { - /** @type {Record>} */ + /** @type {Record>} */ const handlers = {}; - /** @type {import('@agoric/vats/src/bridge').BridgeManager} */ + /** @type {import('@agoric/vats').BridgeManager} */ const manager = { register(srcID, handler) { handlers[srcID] = handler; diff --git a/packages/vats/src/core/chain-behaviors.js b/packages/vats/src/core/chain-behaviors.js index 9ec7b027f5d4..68ad51967bed 100644 --- a/packages/vats/src/core/chain-behaviors.js +++ b/packages/vats/src/core/chain-behaviors.js @@ -362,7 +362,7 @@ harden(connectChainFaucet); /** * @param {SoloVats | NetVats} vats - * @param {OptionalBridgeManager} dibcBridgeManager + * @param {import('../bridge.js').BridgeManager=} dibcBridgeManager */ export const registerNetworkProtocols = async (vats, dibcBridgeManager) => { const ps = []; diff --git a/packages/vats/src/core/types.js b/packages/vats/src/core/types.js index f27f532fda77..1410fb465c04 100644 --- a/packages/vats/src/core/types.js +++ b/packages/vats/src/core/types.js @@ -65,11 +65,6 @@ * }} ChainDevices */ -/** - * @typedef {ReturnType} BridgeManager - * @typedef {BridgeManager | undefined} OptionalBridgeManager - */ - /** * @typedef {{ * getChainBundle: () => unknown,