fix(playground): syntax check does not work (#2412)

This commit is contained in:
Dunqing 2024-02-15 20:05:14 +08:00 committed by GitHub
parent 28ba28f64c
commit 3ff3495126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ impl OxcRunOptions {
#[wasm_bindgen(getter)]
pub fn syntax(&self) -> bool {
self.format
self.syntax
}
#[wasm_bindgen(setter)]