Skip to content

Commit

Permalink
fix: rewrite vault to use new defineKind API
Browse files Browse the repository at this point in the history
  • Loading branch information
FUDCo committed Apr 6, 2022
1 parent 226daef commit 43df7ec
Show file tree
Hide file tree
Showing 2 changed files with 294 additions and 257 deletions.
2 changes: 1 addition & 1 deletion packages/ERTP/src/payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const makePaymentMaker = (allegedName, brand) => {
getAllegedBrand: () => brand,
});
// XXX the following type cast is meatball surgery to make tsc shut up
// somebody who understands this should do it property
// somebody who understands this should do it properly
return /** @type {() => Payment<K>} */ (makePayment);
};
harden(makePaymentMaker);
Loading

0 comments on commit 43df7ec

Please sign in to comment.