diff --git a/yarn-project/stdlib/src/noir/index.ts b/yarn-project/stdlib/src/noir/index.ts index cdd3223d0e7a..79084977a5e9 100644 --- a/yarn-project/stdlib/src/noir/index.ts +++ b/yarn-project/stdlib/src/noir/index.ts @@ -19,7 +19,7 @@ export const AZTEC_VIEW_ATTRIBUTE = 'abi_view'; export interface NoirFunctionAbi { /** The parameters of the function. */ parameters: ABIParameter[]; - /** The return type of the function. */ + /** The return type of the function, or null for void functions. */ return_type: { /** * The type of the return value. @@ -29,7 +29,7 @@ export interface NoirFunctionAbi { * The visibility of the return value. */ visibility: ABIParameterVisibility; - }; + } | null; /** Mapping of error selector => error type */ error_types: Partial>; }