diff --git a/cspell.json b/cspell.json index d8f04ed6069..55c239ec8d1 100644 --- a/cspell.json +++ b/cspell.json @@ -36,6 +36,7 @@ "cpus", "cranelift", "curvegroup", + "databus", "deflatten", "deflattened", "deflattening", diff --git a/tooling/noirc_abi_wasm/src/lib.rs b/tooling/noirc_abi_wasm/src/lib.rs index 281ec712c39..5557cc917bf 100644 --- a/tooling/noirc_abi_wasm/src/lib.rs +++ b/tooling/noirc_abi_wasm/src/lib.rs @@ -27,7 +27,7 @@ use js_witness_map::JsWitnessMap; #[wasm_bindgen(typescript_custom_section)] const INPUT_MAP: &'static str = r#" export type Field = string | number | boolean; -export type InputValue = Field | Field[] | InputMap | InputMap[]; +export type InputValue = Field | InputMap | (Field | InputMap)[]; export type InputMap = { [key: string]: InputValue }; "#;