From 734b85cb97c770a7139a9e7580e66eaec310119d Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Thu, 14 Jan 2021 18:31:30 -0800 Subject: [PATCH] Remove typecast Co-authored-by: Michael FIG --- packages/zoe/src/contractFacet/contractFacet.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/zoe/src/contractFacet/contractFacet.js b/packages/zoe/src/contractFacet/contractFacet.js index a8c757533451..f2c5a9fae1ec 100644 --- a/packages/zoe/src/contractFacet/contractFacet.js +++ b/packages/zoe/src/contractFacet/contractFacet.js @@ -354,9 +354,7 @@ export function buildRootObject(powers, _params, testJigSetter = undefined) { details`invitations must have a description string: ${description}`, ); - const invitationHandle = /** @type {InvitationHandle} */ (makeHandle( - 'InvitationHandle', - )); + const invitationHandle = makeHandle('Invitation'); invitationHandleToHandler.init(invitationHandle, offerHandler); /** @type {Promise} */ const invitationP = E(zoeInstanceAdmin).makeInvitation(