From 426a3be9337ebe9d56d69e614462a4eaa0c29890 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Wed, 19 Jun 2024 09:25:47 -0700 Subject: [PATCH] types(zoe): setTestJig param type optional --- packages/zoe/src/contractFacet/types-ambient.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/zoe/src/contractFacet/types-ambient.d.ts b/packages/zoe/src/contractFacet/types-ambient.d.ts index 168fdca74be..bb41fe7e823 100644 --- a/packages/zoe/src/contractFacet/types-ambient.d.ts +++ b/packages/zoe/src/contractFacet/types-ambient.d.ts @@ -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) => void; +type SetTestJig = (testFn?: () => Record) => void; type ZCFMint = { getIssuerRecord: () => IssuerRecord; /**