diff --git a/noir/noir-repo/tooling/noir_js_types/src/types.ts b/noir/noir-repo/tooling/noir_js_types/src/types.ts index dd6548ddb6c..d4e6a8e4269 100644 --- a/noir/noir-repo/tooling/noir_js_types/src/types.ts +++ b/noir/noir-repo/tooling/noir_js_types/src/types.ts @@ -39,7 +39,7 @@ export type WitnessMap = Map; export type Abi = { parameters: AbiParameter[]; return_type: { abi_type: AbiType; visibility: Visibility } | null; - error_types: Record; + error_types: Partial>; }; export interface VerifierBackend { diff --git a/yarn-project/types/src/noir/index.ts b/yarn-project/types/src/noir/index.ts index ca8d028bc22..57fefa79aee 100644 --- a/yarn-project/types/src/noir/index.ts +++ b/yarn-project/types/src/noir/index.ts @@ -40,7 +40,7 @@ export interface NoirFunctionAbi { visibility: ABIParameterVisibility; }; /** Mapping of error selector => error type */ - error_types: Record; + error_types: Partial>; } /**