Skip to content

Commit

Permalink
chore: disable unused-vars on code only for typechecking
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed May 10, 2024
1 parent f942860 commit db56eca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/orchestration/src/exos/stakingAccountKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,12 +418,13 @@ export const prepareStakingAccountKit = (baggage, makeRecorderKit, zcf) => {
},
);

/** check holder facet against StakingAccountActions interface. FIXME: unused */
/** check holder facet against StakingAccountActions interface. */
// eslint-disable-next-line no-unused-vars
const typeCheck = () => {
/** @import {Guarded, Methods} from '@endo/exo'; */
/** @type {any} */
const arg = null;
/** @satisfies { StakingAccountActions } */
// eslint-disable-next-line no-unused-vars
const kit = makeStakingAccountKit(arg, arg, arg).holder;
};

Expand Down

0 comments on commit db56eca

Please sign in to comment.