Skip to content

Commit

Permalink
chore: suppress type-checking errors for release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Dec 15, 2023
1 parent 900d447 commit 20ce473
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/internal/src/callback.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export const prepareAttenuator = (
*/
const makeAttenuator = zone.exoClass(
tag,
// @ts-expect-error release branch divergence
interfaceGuard,
/**
* @param {object} opts
Expand Down
3 changes: 3 additions & 0 deletions packages/smart-wallet/src/offerWatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import { UNPUBLISHED_RESULT } from './offers.js';
*/
const watchForOfferResult = ({ resultWatcher }, seat) => {
const p = E(seat).getOfferResult();
// @ts-expect-error release branch divergence
watchPromise(p, resultWatcher, seat);
return p;
};
Expand All @@ -56,6 +57,7 @@ const watchForOfferResult = ({ resultWatcher }, seat) => {
*/
const watchForNumWants = ({ numWantsWatcher }, seat) => {
const p = E(seat).numWantsSatisfied();
// @ts-expect-error release branch divergence
watchPromise(p, numWantsWatcher, seat);
return p;
};
Expand All @@ -66,6 +68,7 @@ const watchForNumWants = ({ numWantsWatcher }, seat) => {
*/
const watchForPayout = ({ paymentWatcher }, seat) => {
const p = E(seat).getPayouts();
// @ts-expect-error release branch divergence
watchPromise(p, paymentWatcher, seat);
return p;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const upgradeWalletFactory = async (
makeStorageNodeChild(chainStorage, WALLET_STORAGE_PATH_SEGMENT),
provisionPoolStartResult,
]);
// @ts-expect-error release branch divergence
const walletReviver = await E(ppFacets.creatorFacet).getWalletReviver();

const privateArgs = {
Expand Down
1 change: 1 addition & 0 deletions packages/vats/src/core/basic-behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ export const makeAddressNameHubs = async ({
const { nameHub: namesByAddress, nameAdmin: namesByAddressAdmin } =
makeNameHubKit();
produce.namesByAddress.resolve(namesByAddress);
// @ts-expect-error release branch divergence
produce.namesByAddressAdmin.resolve(namesByAddressAdmin);

const perAddress = address => {
Expand Down
1 change: 1 addition & 0 deletions packages/vats/src/vat-bank.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ const prepareBankManager = (
);

const vp = makeVirtualPurse(feeVpc, feeKit);
// @ts-expect-error release branch divergence
return E(vp).getDepositFacet();
},

Expand Down

0 comments on commit 20ce473

Please sign in to comment.