Skip to content

Commit

Permalink
types(zoe): setTestJig param type optional
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jun 19, 2024
1 parent 9274bc7 commit 426a3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zoe/src/contractFacet/types-ambient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ type ZCFRegisterFeeMint = (
* never in production; i.e., it is only called if `testJigSetter`
* was supplied.
*
* If no, `testFn` is supplied, then an empty jig will be used.
* If no `testFn` is supplied, then an empty jig will be used.
* An additional `zcf` property set to the current ContractFacet
* will be appended to the returned jig object (overriding any
* provided by the `testFn`).
*/
type SetTestJig = (testFn: () => Record<string, unknown>) => void;
type SetTestJig = (testFn?: () => Record<string, unknown>) => void;
type ZCFMint<K extends AssetKind = AssetKind> = {
getIssuerRecord: () => IssuerRecord<K>;
/**
Expand Down

0 comments on commit 426a3be

Please sign in to comment.