Skip to content

Commit

Permalink
chore(types): concessions to prepack
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jun 21, 2024
1 parent 68f281b commit e69fcba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const start = async (zcf, privateArgs, baggage) => {
const findBrandInVBank = async brand => {
const assets = await E(
E(privateArgs.agoricNames).lookup('vbankAsset'),
// @ts-expect-error XXX heapVowE
// @ts-ignore XXX heapVowE

Check failure on line 60 in packages/orchestration/src/examples/sendAnywhere.contract.js

View workflow job for this annotation

GitHub Actions / lint-rest

Use "@ts-expect-error" to ensure an error is actually being suppressed
).values();
const it = assets.find(a => a.brand === brand);
it || Fail`brand ${brand} not in agoricNames.vbankAsset`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export const prepareLocalOrchestrationAccountKit = (
delegatorAddress: this.state.address.address,
}),
]);
// @ts-expect-error Type 'JsonSafe<MsgUndelegateResponse & { '@type': "/cosmos.staking.v1beta1.MsgUndelegateResponse"; }>' is not assignable to type 'MsgUndelegateResponse'.
// @ts-ignore Type 'JsonSafe<MsgUndelegateResponse & { '@type': "/cosmos.staking.v1beta1.MsgUndelegateResponse"; }>' is not assignable to type 'MsgUndelegateResponse'.

Check failure on line 347 in packages/orchestration/src/exos/local-orchestration-account.js

View workflow job for this annotation

GitHub Actions / lint-rest

Use "@ts-expect-error" to ensure an error is actually being suppressed
return when(watch(results, this.facets.undelegateWatcher));
},
/**
Expand Down

0 comments on commit e69fcba

Please sign in to comment.