diff --git a/crates/oxc_wasm/src/options.rs b/crates/oxc_wasm/src/options.rs index 341fba8c749c9..67ca97cb56fec 100644 --- a/crates/oxc_wasm/src/options.rs +++ b/crates/oxc_wasm/src/options.rs @@ -23,7 +23,7 @@ impl OxcRunOptions { #[wasm_bindgen(getter)] pub fn syntax(&self) -> bool { - self.format + self.syntax } #[wasm_bindgen(setter)]