diff --git a/packages/zoe/src/contractSupport/zoeHelpers.js b/packages/zoe/src/contractSupport/zoeHelpers.js index 01c38791321..4de0f07c512 100644 --- a/packages/zoe/src/contractSupport/zoeHelpers.js +++ b/packages/zoe/src/contractSupport/zoeHelpers.js @@ -176,11 +176,12 @@ export const depositToSeatSuccessMsg = `Deposit and reallocation successful.`; * The `amounts` and `payments` records must have corresponding * keywords. * + * @template {object} [OR=unknown] * @param {ZCF} zcf * @param {ZCFSeat} recipientSeat * @param {AmountKeywordRecord} amounts * @param {PaymentPKeywordRecord} payments - * @returns {Promise} `Deposit and reallocation successful.` + * @returns {Promise} `Deposit and reallocation successful.` */ export const depositToSeat = async (zcf, recipientSeat, amounts, payments) => { !recipientSeat.hasExited() || Fail`The recipientSeat cannot have exited.`; diff --git a/packages/zoe/src/typeGuards.js b/packages/zoe/src/typeGuards.js index 410902f78d0..e694725fc7b 100644 --- a/packages/zoe/src/typeGuards.js +++ b/packages/zoe/src/typeGuards.js @@ -127,7 +127,7 @@ export const InvitationElementShape = M.splitRecord({ }); export const OfferHandlerI = M.interface('OfferHandler', { - handle: M.call(SeatShape).optional(M.any()).returns(M.string()), + handle: M.call(SeatShape).optional(M.any()).returns(M.any()), }); export const SeatHandleAllocationsShape = M.arrayOf(